search for: add_stubs

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

Did you mean: add_stats
2007 Apr 28
7
[ rspec-Patches-9605 ] Patch for ER 9472, shared behaviour
Hi all - I''ve applied (to trunk) Bob Cotton''s patch which supports shared behaviours (link to tracker below). I''m still toying w/ names, so please be aware that until this is released w/ 0.9 it should be considered experimental and there will NOT be translation support for it. It will definitely be included in some form - just the names (specifically
2007 Oct 12
3
Strange mock_model behaviour with ActiveResource model
...39;'FaCodesController handling GET /fa_codes should assign the found fa_codes for the view'' uninitialized constant Spec::Rails::Initializer (eval):11:in `class'' /home/jhughes/dev/rj/gump_rewrite/vendor/plugins/rspec_on_rails/lib/spec/rails/dsl/behaviour/rails_example.rb:85:in `add_stubs'' /home/jhughes/dev/rj/gump_rewrite/vendor/plugins/rspec_on_rails/lib/spec/rails/dsl/behaviour/rails_example.rb:73:in `mock_model'' ./spec/controllers/fa_codes_controller_spec.rb:64: This is with edge rails, trunk rspec and rspec_on_rails. I might have pegged this as some Ares wier...