Thanks to Advany - I needed to add the following to my Rakefile require "merb-core/test/tasks/spectasks"
K On Oct 8, 11:34 am, keeran <[EMAIL PROTECTED]> wrote: > Having similar problems - have installed 0.9.8 and altered my app as > per: > > http://merbist.com/2008/10/06/merb-edge-update-oct-6th-2008/ > > But now when I try to run the specs it appears to do nothing at all. > Nothing in the logs or trace so not sure where to start looking. It's > like the task is empty..? > > All I get output is 'Logging to ...' and the task completes. > > Any help appreciated - many thanks to everyone involved btw! > > Kee > > On Oct 5, 5:17 am, dc <[EMAIL PROTECTED]> wrote: > > > hi - > > > is anyone having problems with rspec + latest merb? > > i upgraded all today and now no specs will run... > > > rspec 1.1.8 > > merb 0.9.8 > > > [EMAIL PROTECTED]:merbquest/trunk]$ spec spec/controllers/ > > friends_spec.rb > > > /Library/Ruby/Gems/1.8/gems/merb-core-0.9.8/lib/merb-core/test/ > > test_ext/rspec.rb:71:in `describe': undefined local variable or method > > `before_eval' for Merb::Test::ExampleGroup::Subclass_1:Class > > (NameError) > > from /Library/Ruby/Gems/1.8/gems/merb-core-0.9.8/lib/merb-core/test/ > > test_ext/rspec.rb:62:in `describe' > > from /Library/Ruby/Gems/1.8/gems/rspec-1.1.8/lib/spec/extensions/ > > class.rb:14:in `instance_eval' > > from /Library/Ruby/Gems/1.8/gems/rspec-1.1.8/lib/spec/extensions/ > > class.rb:14:in `subclass' > > from /Library/Ruby/Gems/1.8/gems/merb-core-0.9.8/lib/merb-core/test/ > > test_ext/rspec.rb:61:in `describe' > > from /Library/Ruby/Gems/1.8/gems/rspec-1.1.8/lib/spec/example/ > > example_group_factory.rb:46:in `create_example_group' > > from /Library/Ruby/Gems/1.8/gems/rspec-1.1.8/lib/spec/extensions/ > > main.rb:27:in `describe' > > from ./spec/controllers/friends_spec.rb:3 > > from /Library/Ruby/Gems/1.8/gems/rspec-1.1.8/lib/spec/runner/ > > example_group_runner.rb:14:in `load' > > from /Library/Ruby/Gems/1.8/gems/rspec-1.1.8/lib/spec/runner/ > > example_group_runner.rb:14:in `load_files' > > from /Library/Ruby/Gems/1.8/gems/rspec-1.1.8/lib/spec/runner/ > > example_group_runner.rb:13:in `each' > > from /Library/Ruby/Gems/1.8/gems/rspec-1.1.8/lib/spec/runner/ > > example_group_runner.rb:13:in `load_files' > > from /Library/Ruby/Gems/1.8/gems/rspec-1.1.8/lib/spec/runner/ > > options.rb:98:in `run_examples' > > from /Library/Ruby/Gems/1.8/gems/rspec-1.1.8/lib/spec/runner/ > > command_line.rb:10:in `run' > > from /Library/Ruby/Gems/1.8/gems/rspec-1.1.8/bin/spec:4 > > from /usr/bin/spec:19:in `load' > > from /usr/bin/spec:19 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
