search for: example_group_method

Displaying 9 results from an estimated 9 matches for "example_group_method".

Did you mean: example_group_methods
2007 Dec 07
4
strange error on mock proxy
...pec/example/example_methods.rb:42:in `eval_each_fail_fast'' vendor/plugins/rspec/lib/spec/example/example_methods.rb:41:in `each'' vendor/plugins/rspec/lib/spec/example/example_methods.rb:41:in `eval_each_fail_fast'' vendor/plugins/rspec/lib/spec/example/example_group_methods.rb: 216:in `run_before_each'' vendor/plugins/rspec/lib/spec/example/example_group_methods.rb: 316:in `execute_in_class_hierarchy'' vendor/plugins/rspec/lib/spec/example/example_group_methods.rb: 315:in `each'' vendor/plugins/rspec/lib/spec/example/example_...
2008 Jan 15
0
Problem with ruby-debug and rspec
...;' /Users/rabble/code/fireeagle-rails/core/trunk/lib/sso_authentication/test_helper.rb:58:in `assert_requires_login'' ./spec/controllers/account_controller_spec.rb:63:in `test_already_tossed'' /opt/local/lib/ruby/gems/1.8/gems/rspec-1.1.2/lib/spec/example/example_group_methods.rb:398:in `__send__'' /opt/local/lib/ruby/gems/1.8/gems/rspec-1.1.2/lib/spec/example/example_group_methods.rb:398:in `add_method_examples'' /opt/local/lib/ruby/gems/1.8/gems/rspec-1.1.2/lib/spec/example/example_methods.rb:78:in `instance_eval'' /opt/...
2007 Dec 12
3
undefined method: controller_name
...on_controller_spec2.rb ./spec/unit/controllers/application_controller_spec2.rb:10: undefined method `controller_name'' for Spec::Rails::Example::RailsExampleGroup::Subclass_1:Class (NoMethodError) from /Users/alvin/workspace/eTriever-spec-tmp/vendor/plugins/rspec/lib/spec/example/example_group_methods.rb:39:in `module_eval'' from /Users/alvin/workspace/eTriever-spec-tmp/vendor/plugins/rspec/lib/spec/example/example_group_methods.rb:39:in `describe'' from /Users/alvin/workspace/eTriever-spec-tmp/vendor/plugins/rspec/lib/spec/extensions/class.rb:14:in `instanc...
2011 Aug 09
0
Devise, RSpec and Webrat
...methods.rb:128:in `before_each_example'' rspec (1.3.0) lib/spec/example/example_methods.rb:39:in `execute'' /usr/lib/ruby/1.8/timeout.rb:53:in `timeout'' rspec (1.3.0) lib/spec/example/example_methods.rb:37:in `execute'' rspec (1.3.0) lib/spec/example/example_group_methods.rb:214:in `run_examples'' rspec (1.3.0) lib/spec/example/example_group_methods.rb:212:in `each'' rspec (1.3.0) lib/spec/example/example_group_methods.rb:212:in `run_examples'' rspec (1.3.0) lib/spec/example/example_group_methods.rb:103:in `run'' rspe...
2008 Aug 19
5
RSpec raising routing errors where Rails doesn''t?
Hopefully someone here can help me figure out why the ERB: <% form_for(@fund, :url => {:host => PRIVATE_HOST}, :html => {:class => ''fund'', :multipart => true}) do |f| %> raises an error in my specs: No route matches {:action=>"index"} but works fine in my app and generates the following, desired HTML: <form
2007 Nov 09
9
fixture_file_upload and edge rspec?
Hi all, I had some specs that were using fixture_file_upload that were passing just fine. Then I froze edge rails to get some 2.0 functionality, then a I upgraded to trunk rspec to deal with uninitialized constant ActionView::Helpers::JavaScriptMacrosHelper After a couple other of tribulations, I have now gotten down to just a couple of not passing specs, all using the fixture_file_upload.
2007 Dec 13
16
"Tricks" for testing after_create callback???
I''ve got a model Message, which needs to send an email using action mailer after it''s first saved in the database. I want to pass the model to the mailer which then uses methods on the message model to render the email. So the natural way to do this is in an after_create callback on the Message model. But I can''t see an easy way to test this. Here''s my spec
2007 Nov 21
9
''it'' duplicate example: BUG
I svn up''ed this morning, to get the following message with rake spec: /Users/smt/src/web/urbis/trunk/vendor/plugins/rspec/lib/spec/example/ example_group_methods.rb:96:in `it'': Duplicate example: ''should contain the total number of messages'' (RuntimeError) Anyone have any ideas why this might be going on? My specs were all passing last night. Let me know if I should put this in the tracker. Scott
2007 Nov 28
6
textmate bundle
Does anyone else have issues running rspec textmate bundle? I''ve got revision 2997, but the blasted thing just won''t run. It is checked out to my /Users/zdennis/Library/Application Support/TextMate/Bundles/RSpec.tmbundle When it runs I get the below error... "textmate" is not a valid class name