Daniel Vartanov
2009-Jan-20 14:45 UTC
[rspec-users] [Cucumber, Merb, Webrat] undefined method ''response'' for Merb::Test::World::Webrat
Hello! I get the following error everytime I try to check the result of previous step (by the way, I use default result_steps.rb): undefined local variable or method `response'' for #<Merb::Test::World::Webrat:0x7f083c7860b8> (NameError) ./features/steps/result_steps.rb:14:in ` /^the (.*) ?request should fail/'' features/authentication/login.feature:17:in `/^the (.*) ?request should fail/'' It is raised even in a freshly generated merb application (merb-gen app) and freshly generated cucumber files (merb-gen cucumber --session-type webrat). Here are the versions of the installed gems: cucumber (0.1.15) merb (1.0.8) webrat (0.4.0) david-merb_cucumber (0.5.1.2) Where should I search for the source of the problem? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20090120/8d94eeb4/attachment.html>
Justin Smestad
2009-Jan-25 02:13 UTC
[rspec-users] [Cucumber, Merb, Webrat] undefined method ''response'' for
Daniel, I have fixed this in my fork: http://github.com/jsmestad/merb_cucumber/tree/master Daniel Vartanov wrote:> undefined local variable or method `response'' for > #<Merb::Test::World::Webrat:0x7f083c7860b8> (NameError) > ./features/steps/result_steps.rb:14:in ` /^the (.*) ?request should > fail/'' > features/authentication/login.feature:17:in `/^the (.*) ?request should > fail/'' > Here are the versions of the installed gems: > cucumber (0.1.15) > merb (1.0.8) > webrat (0.4.0) > david-merb_cucumber (0.5.1.2)-- Posted via http://www.ruby-forum.com/.
Jim Morris
2009-Feb-01 07:58 UTC
[rspec-users] [Cucumber, Merb, Webrat] undefined method ''response'' for
Justin Smestad wrote:> Daniel, I have fixed this in my fork: > http://github.com/jsmestad/merb_cucumber/tree/master >I still get the same error after installing jsmestad-merb_cucumber-0.5.1.3 from gems.github.com Did the version get bumped OK? or do I need to clone and build locally? Thanks -- Posted via http://www.ruby-forum.com/.
Jim Morris
2009-Feb-01 08:04 UTC
[rspec-users] [Cucumber, Merb, Webrat] undefined method ''response'' for
Jim Morris wrote:> Justin Smestad wrote: >> Daniel, I have fixed this in my fork: >> http://github.com/jsmestad/merb_cucumber/tree/master >> > > I still get the same error after installing > jsmestad-merb_cucumber-0.5.1.3 from gems.github.com > Did the version get bumped OK? or do I need to clone and build locally? > > Thanksnever mind, NOTE you have to redo the... merb-gen cucumber --session-type webrat after installing your fixed version. Thanks -- Posted via http://www.ruby-forum.com/.
Jai-gouk Kim
2009-Feb-12 12:28 UTC
[rspec-users] [Cucumber, Merb, Webrat] undefined method ''response'' for
Justin Smestad wrote:> Daniel, I have fixed this in my fork: > http://github.com/jsmestad/merb_cucumber/tree/master >Thanks! IT WORKS! -- Posted via http://www.ruby-forum.com/.
deimos1986
2009-Feb-13 12:38 UTC
[rspec-users] [Cucumber, Merb, Webrat] undefined method ''response'' for
Hi Jim, Just want to say thanks for fixing this. It blocked me for a day trying to figure out what broke. Any chance of trying to get this pulled into david''s branch as most tutorials reference his branch. Cheers, Matt On Feb 1, 8:04?am, Jim Morris <li... at ruby-forum.com> wrote:> Jim Morris wrote: > > Justin Smestad wrote: > >> Daniel, I have fixed this in my fork: > >>http://github.com/jsmestad/merb_cucumber/tree/master > > > I still get the same error after installing > > jsmestad-merb_cucumber-0.5.1.3 from gems.github.com > > Did the version get bumped OK? or do I need to clone and build locally? > > > Thanks > > never mind, NOTE you have to redo the... > > merb-gen cucumber --session-type webrat > > after installing your fixed version. > > Thanks > -- > Posted viahttp://www.ruby-forum.com/. > _______________________________________________ > rspec-users mailing list > rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users
Jim Morris
2009-Feb-13 19:20 UTC
[rspec-users] [Cucumber, Merb, Webrat] undefined method ''response'' for
deimos1986 wrote:> Hi Jim, > Just want to say thanks for fixing this. It blocked me for a day > trying to figure out what broke. Any chance of trying to get this > pulled into david''s branch as most tutorials reference his branch. > > Cheers, > MattIt was Justin, I just benefited from his work... and +1 for getting it merged into Davids branch. -- Posted via http://www.ruby-forum.com/.