Re: [rspec-users] resource urls only work *after* a get() in controller spec

2009-02-01 Thread r_j_h_box-sf
Okay, following up on this item. Would you believe a workaround of (gasp) get :index, prior to expecting route-based URLs to work? (slaps forehead). or do_action(), provided by the host example group (the more concrete example group, I mean - what's the right terminology there?). I tried repro

Re: [rspec-users] undefined method `inherit' for Merb::Test::ExampleGroup

2009-02-01 Thread Phlip
Thomas R. Koll wrote: Are you sure it's inherit and not extend? Per the blogs, inherit() got invented to install Test::Unit::TestCase, to get its extra goodies. That's a class, so you can't extend or import it! Were those blog entries since redacted? Second, I guess the missing trace is c

Re: [rspec-users] undefined method `inherit' for Merb::Test::ExampleGroup

2009-02-01 Thread Thomas R. Koll
Hi Phlip, Are you sure it's inherit and not extend? Second, I guess the missing trace is cuz you should put a 'before' block into the describe. Took me some time to figure that out last month... so try this and let us know the results: describe 'Post' do before do extend FixtureDependenci

[rspec-users] undefined method `inherit' for Merb::Test::ExampleGroup

2009-02-01 Thread Phlip
RSpeckers: I'm trying to install this into a Merb-generated RSpec rig: http://code.jeremyevans.net/doc/fixture_dependencies/ It requires inserting their test case into RSpec. This is the documented way to do it: describe 'Post' do inherit FixtureDependencies::SequelTestCase And that lea

Re: [rspec-users] resource urls only work *after* a get() in controller spec

2009-02-01 Thread r_j_h_box-sf
thanks, Ben - that didn't do the trick, though. I traced it down as far as this: the controller hasn't initialized its current url - that's the immediate cause of the method-on-nil complaint. It hasn't, because the controller isn't technically handling a request yet (i.e., process()). I trie

Re: [rspec-users] [Cucumber, Merb, Webrat] undefined method 'response' for

2009-02-01 Thread Jim Morris
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 clo