search for: context_eval

Displaying 2 results from an estimated 2 matches for "context_eval".

2007 Feb 13
16
Error against latest trunk while testing via spec for model
Hi I just did an update to lates trunk ================= context "Given a generated venue_spec.rb with fixtures loaded" do fixtures :venues specify "fixtures should load two Venues" do Venue.should have(2).records end end ================== gives me ========== 1) TypeError in ''Given a generated venue_spec.rb with fixtures loaded fixtures should load two
2007 Apr 12
1
rspec on rails: undefined method ''controller_name''
.../lib/s pec/expectations/sugar.rb:14:in `_method_missing'' from C:/rails/InstantRails/ruby/lib/ruby/gems/1.8/gems/rspec-0.8.2 /lib/s pec/expectations/sugar.rb:10:in `method_missing'' from C:/rails/InstantRails/ruby/lib/ruby/gems/1.8/gems/rspec- 0.8.2 /lib/s pec/runner/context_eval.rb:47:in `method_missing'' from ./spec/functional/booking_sheet_spec.rb:4 from C:/rails/InstantRails/ruby/lib/ruby/gems/1.8/gems/rspec-0.8.2 /lib/s pec/runner/context.rb:14:in `class_eval'' from C:/rails/InstantRails/ruby/lib/ruby/gems/1.8/gems/rspec-0.8.2 /l...