Displaying 20 results from an estimated 25 matches for "elctech".
2007 Oct 05
4
have_xml_tag
...d the problem
outlined and resolved here
http://weblog.jamisbuck.org/2007/1/4/assert_xml_select
Just wondered if there is any support in rspec?
Cheers
Shane
Shane Mingins
ELC Technologies (TM)
PO Box 247
Santa Barbara, CA 93102
Phone: +64 4 568 6684
Mobile: +64 21 435 586
Email: smingins at elctech.com
AIM: ShaneMingins
Skype: shane.mingins
(866) 863-7365 Tel - Santa Barbara Office
(866) 893-1902 Fax - Santa Barbara Office
+44 020 7504 1346 Tel - London Office
+44 020 7504 1347 Fax - London Office
http://www.elctech.com
-----------------------------------------------------------------...
2008 Mar 14
2
Lib Specs and config.use_transactional_fixtures = true
...ue seems fine in a spec in the m/
v/c and interests directories but not in lib
Just wondered if anyone had any quick thoughts as to why that may be???
Shane Mingins
ELC Technologies (TM)
1921 State Street
Santa Barbara, CA 93101
Phone: +64 4 568 6684
Mobile: +64 21 435 586
Email: smingins at elctech.com
AIM: ShaneMingins
Skype: shane.mingins
(866) 863-7365 Tel - Santa Barbara Office
(866) 893-1902 Fax - Santa Barbara Office
+44 020 7504 1346 Tel - London Office
+44 020 7504 1347 Fax - London Office
http://www.elctech.com
-----------------------------------------------------------------...
2007 Dec 17
2
RSpec 1.1.0 (Rails) --- Supported Rails Versions?
....1.0 versions of RSpec and Spec::Rails support?
I think I maybe under the (incorrect) impression that I had to go to
Rails 2.0 for 1.1.0
Cheers
Shane
Shane Mingins
ELC Technologies (TM)
1921 State Street
Santa Barbara, CA 93101
Phone: +64 4 568 6684
Mobile: +64 21 435 586
Email: smingins at elctech.com
AIM: ShaneMingins
Skype: shane.mingins
(866) 863-7365 Tel - Santa Barbara Office
(866) 893-1902 Fax - Santa Barbara Office
+44 020 7504 1346 Tel - London Office
+44 020 7504 1347 Fax - London Office
http://www.elctech.com
-----------------------------------------------------------------...
2007 Nov 21
2
When you sometimes wonder how to test this??
...the Rails tests in
active_record_helper work helpful :-)
So just thought I''d share that. Have other''s done the same?
Cheers
Shane
Shane Mingins
ELC Technologies (TM)
1921 State Street
Santa Barbara, CA 93101
Phone: +64 4 568 6684
Mobile: +64 21 435 586
Email: smingins at elctech.com
AIM: ShaneMingins
Skype: shane.mingins
(866) 863-7365 Tel - Santa Barbara Office
(866) 893-1902 Fax - Santa Barbara Office
+44 020 7504 1346 Tel - London Office
+44 020 7504 1347 Fax - London Office
http://www.elctech.com
-----------------------------------------------------------------...
2007 Aug 01
3
Test Rendering nothing in Rails
Hi
In a controller I have method that is accessed via an AJAX call and
will conditionally do:
render :nothing => true
to test the condition hitting this line I was hoping to do something
like:
response.should render_template(:nothing)
How should I test this behaviour?
Cheers
Shane
2007 Oct 25
3
Mocking Workers in Backgroundrb
...dleMan.should_receive
(:new_worker).with(:class => :admin_email_worker, :args => {"body" =>
"my message"})
Cheers
Shane
Shane Mingins
ELC Technologies (TM)
1921 State Street
Santa Barbara, CA 93101
Phone: +64 4 568 6684
Mobile: +64 21 435 586
Email: smingins at elctech.com
AIM: ShaneMingins
Skype: shane.mingins
(866) 863-7365 Tel - Santa Barbara Office
(866) 893-1902 Fax - Santa Barbara Office
+44 020 7504 1346 Tel - London Office
+44 020 7504 1347 Fax - London Office
http://www.elctech.com
-----------------------------------------------------------------...
2007 Sep 04
7
1.05 to 1.08
...ath is in the helper ...
I just put it in the above for simplicity.
So I am wondering what may have changed and what do I need to
configure??
Thanks
Shane
Shane Mingins
ELC Technologies (TM)
PO Box 247
Santa Barbara, CA 93102
Phone: +64 4 568 6684
Mobile: +64 21 435 586
Email: smingins at elctech.com
AIM: ShaneMingins
Skype: shane.mingins
(866) 863-7365 Tel - Santa Barbara Office
(866) 893-1902 Fax - Santa Barbara Office
+44 020 7504 1346 Tel - London Office
+44 020 7504 1347 Fax - London Office
http://www.elctech.com
-----------------------------------------------------------------...
2008 Mar 10
10
tutes on testing controllers
hello spec''ers,
i''m in the hunt for guides on testing controllers with rspec, would
you guys recommend any?
thanks
Oliver
--
Oliver Azevedo Barnes
oli.azevedo.barnes at gmail.com
+55 11 9768 0193
http://www.linkedin.com/in/oliverbarnes
http://workingwithrails.com/person/4704-oliver-barnes
2007 Dec 04
4
AutoTest / Rspec - "stack level too deep"
Hello,
I''m running AutoTest with Rspec on a Rails application.
Every 20 or so runs I get "stack level too deep" on one particular
controller stub.
Ex.
controller.stub!(:login).and_return(true)
This particular line is in a before block of a certain describe block. The
strange thing is, every single spec in this file fails on that one line,
even the specs in other describe
2006 Jul 20
1
paypal vs vpaypal
Has anyone used the vpaypal gem yet
(http://rubyforge.org/frs/?group_id=1372&release_id=4452) and if so, how
does it compare to the paypal plugin from ELC
(http://elctech.com/products_ruby_paypal.shtml)?
ELC''s is at 1.4 now while vpaypal is at 0.0.1 and hasn''t had much
activity at rubyforge. I''m hoping for some success stories from people
on one or both of those plugins.
--
Posted via http://www.ruby-forum.com/.
2008 Jan 11
0
Peepcode RSpec User Stories
http://peepcode.com/products/rspec-user-stories
Shane Mingins
ELC Technologies (TM)
1921 State Street
Santa Barbara, CA 93101
Phone: +64 4 568 6684
Mobile: +64 21 435 586
Email: smingins at elctech.com
AIM: ShaneMingins
Skype: shane.mingins
(866) 863-7365 Tel - Santa Barbara Office
(866) 893-1902 Fax - Santa Barbara Office
+44 020 7504 1346 Tel - London Office
+44 020 7504 1347 Fax - London Office
http://www.elctech.com
-----------------------------------------------------------------...
2007 Oct 04
3
Is stubbing a call to super possible?
...ocused on the logic of the method in the controller I am
testing I just wish to stub the value returned in the super.
Is this at all possible?
Cheers
Shane
Shane Mingins
ELC Technologies (TM)
PO Box 247
Santa Barbara, CA 93102
Phone: +64 4 568 6684
Mobile: +64 21 435 586
Email: smingins at elctech.com
AIM: ShaneMingins
Skype: shane.mingins
(866) 863-7365 Tel - Santa Barbara Office
(866) 893-1902 Fax - Santa Barbara Office
+44 020 7504 1346 Tel - London Office
+44 020 7504 1347 Fax - London Office
http://www.elctech.com
-----------------------------------------------------------------...
2008 Jan 30
9
catching errors, rspec basics
Trying to spec the following but don''t know if I''m using the right matcher.
How do I spec? Plz, sugar on tops.
Audience.stats
- should have a stats of 80 when passed a flux of 10
- should return an error when passed a string (ERROR - 1)
1)
TypeError in ''Audience.stats should return an error when passed a string''
String can''t be coerced into Fixnum
2007 Nov 30
4
Rendering a view and passing a variable
Hello all,
I have a view which display html based on the value of a variable. Here''s the code :
<% if @language == ''e'' %>
<%= link_to "Français", :action => :index, :id => "f" %>
<% end %>
In my test, I''m trying to set the value of the variable first, but that just doesn''t seem to work :
it
2006 Jul 12
0
acts_as_authenticated and paypal
I''m working on a subscription form that has to be tied to paypal using
the paypal ipn plugin at http://elctech.com/products_ruby_paypal.shtml.
I''ve got my subscription (signup) form setup to include the creditcard
information as well as the billing address etc. It''s a modified version
of the signup form from the acts_as_auth plugin.
I want the model to not save if the paypal direct pa...
2006 Jun 24
0
integrating paypal pro with rails?
...best-practices to share. So far I''ve found
a few paypal related tools, of which the ELC Plugin (link below) seems the best
suited for payments pro, but I''d love to hear any experiences verifying or
contradicting that, or any war stories at all.
Best,
John
ELC Plugin:
http://www.elctech.com/products_ruby_paypal.shtml
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
2007 Nov 27
0
opensocial container plugin
Since OpenSocial is bound to take over the world, I''ve just released a
very early version of my opensocial container plugin. If you are
brave, try it out and let me know how it goes.
You can check it out here:
http://elctech.com/2007/11/27/opensocial-container-plugin-0-0-1
--
Ryan Garver
rgarver-jrinBW/Jv4hBDgjK7y7TUQ@public.gmane.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this gro...
2011 May 24
2
ruby 1.9.2 rpms for testing
Hello...
I noticed from the list that puppet is not ready for ruby 1.9.2 yet.
I''m working at a ruby shop so I gave a shot at building ruby 1.9.2 rpms
with supporting gems for RHEL/CentOS. I have ruby-1.9.2 rpms that
replace the vendor rpms and ruby192 rpms that install in parallel with
the vendor rpms.
Is anyone interested in using these rpms to get puppet working with
1.9.2 and/or
2007 Jun 11
2
Testing create in Rails controller
Hi All
So I am a first-time caller ;-) ... and have been trying to apply
RSpec to the depot example in Dave Thomas'' book as I build the
application.
I am having a problem testing the admin controller create method and
cannot quite see where I am going wrong so was hoping for a pointer :-)
My spec looks like:
describe AdminController do
before(:each) do
@product =
2007 Sep 25
4
Autotest with RSpec Rails and Engines
Hi
We have a Rails project using an engine which I want to run autotest
with rspec against.
So the project specific specs are in the specs directory but the
common specs are in the specs directory of the engine plugin (e.g.
vendor/plugin/engine/specs)
Just wondering where I would be looking to change configuration so
that autotest will also look for the specs in the engine directory?