Re: [rspec-users] undefined method `has' in integration test

2010-02-22 Thread drewB
Any thoughts on how to get the matchers included? On Feb 21, 4:23 pm, drewB wrote: > I require webrat in spec_helper (Spork.prefork). > > versions: > > rails 2.1.2 > rspec 1.3.0 > rspec-rails 1.3.2 > ruby 1.8.7 > > The file is located at 'spec/integration/landing_page/ > Ianding_page_spec.rb'. I

Re: [rspec-users] undefined method `has' in integration test

2010-02-21 Thread drewB
I require webrat in spec_helper (Spork.prefork). versions: rails 2.1.2 rspec 1.3.0 rspec-rails 1.3.2 ruby 1.8.7 The file is located at 'spec/integration/landing_page/ Ianding_page_spec.rb'. I am running 'spec spec/integration/ landing_page/landing_page_spec.rb' I am also using the rspec-integra

Re: [rspec-users] undefined method `has' in integration test

2010-02-21 Thread David Chelimsky
On Sun, Feb 21, 2010 at 5:25 PM, drewB wrote: > Whenever I use a matcher like response.should have_text in an > integration test I receive the following error: > > undefined method `has' for # 0x7fe07d184038> > > Any idea why that is and how to fix it? What versions of rails, rspec, and ruby are

Re: [rspec-users] undefined method `has' in integration test

2010-02-21 Thread Nicolás Sanguinetti
On Sun, Feb 21, 2010 at 9:25 PM, drewB wrote: > Whenever I use a matcher like response.should have_text in an > integration test I receive the following error: > > undefined method `has' for # 0x7fe07d184038> > > Any idea why that is and how to fix it? I think—not sure—those matchers are provided