search for: behaviour_ev

Displaying 4 results from an estimated 4 matches for "behaviour_ev".

Did you mean: behaviour_eval
2007 Jun 21
9
it_should_behave_like
I''m trying to use it_should_behave_like, and something seems to be wonky with the syntax. When I add :shared=>true, the DSL complains that the next line is the fixture declaration: /vendor/plugins/rspec/lib/spec/dsl/behaviour_eval.rb:137:in `method_missing'': undefined method `fixtures'' for #<Spec::DSL::EvalModule:0x324a2cc> (NoMethodError) Here''s the spec http://pastie.caboo.se/72287 Am I using it_should_behave_like properly? Am I making a separate mistake? I have RSpec setup as a svn ex...
2007 Apr 25
9
Running specs for a plugin - undefined method ''define'' for object
...ec.rb -- create_table(:widgets, {:force=>true}) -> 0.0407s -- create_table(:gears, {:force=>true}) -> 0.0074s -- initialize_schema_information() -> 0.0005s -- columns("schema_info") -> 0.0005s /Users/jeff/Sites/niche/audit_fu/vendor/plugins/rspec/lib/spec/dsl/behaviour_eval.rb:62:in `method_missing'': undefined method `fixtures'' for #<Spec::DSL::EvalModule:0x215f8a4> (NoMethodError) from ./vendor/plugins/audit_fu/spec/audit_fu_spec.rb:4 from /Users/jeff/Sites/niche/audit_fu/vendor/plugins/rspec/lib/spec/dsl/behaviour.rb:26:in `...
2007 Jun 27
2
Controller specs not shareable?
...e "XHR POST /gap/calculate_quote with valid details" do it_should_behave_like "All XHR POSTs to /gap/calculate_quote" # ... end blows up with the following error: ########## /Users/ashleymoran/Documents/Development/YourMoney/trunk/src/vendor/ plugins/rspec/lib/spec/dsl/behaviour_eval.rb:137:in `method_missing'': undefined method `controller_name'' for # (NoMethodError) from ./spec/ controllers/gap_controller_spec.rb:165 from /Users/ashleymoran/ Documents/Development/YourMoney/trunk/src/vendor/plugins/rspec/lib/ spec/dsl/behaviour.rb:54:in `class_eval'...
2007 Jul 26
5
Coding standards and whitespace
...in_teardown.rb rspec/failing_examples/mocking_example.rb rspec/failing_examples/predicate_example.rb rspec/failing_examples/raising_example.rb rspec/failing_examples/team_spec.rb rspec/lib/autotest/rspec.rb rspec/lib/spec/dsl/behaviour.rb rspec/lib/spec/dsl/behaviour_callbacks.rb rspec/lib/spec/dsl/behaviour_eval.rb rspec/lib/spec/dsl/behaviour_factory.rb rspec/lib/spec/dsl/configuration.rb rspec/lib/spec/dsl/description.rb rspec/lib/spec/dsl/example.rb rspec/lib/spec/dsl/example_matcher.rb rspec/lib/spec/dsl/example_should_raise_handler.rb rspec/lib/spec/expectations/differs/default.rb rspec/lib/spec/exp...