Re: [rspec-users] Configuring RSpec for Integration Test

2011-01-07 Thread David Chelimsky
On Jan 7, 2011, at 9:12 AM, Sarah Allen wrote: > I don't see any cucumber scenarios on integration testing with webrat or > capybara. Did I miss those? You did not! They are just missing. > or should we add some? Yes! Please!! > We have a couple of volunteer interns at Blazing Cloud

Re: [rspec-users] Configuring RSpec for Integration Test

2011-01-07 Thread Sarah Allen
I don't see any cucumber scenarios on integration testing with webrat or capybara. Did I miss those? or should we add some? We have a couple of volunteer interns at Blazing Cloud who are learning TDD and may be able to help with docs. I just want to be sure to steep them in the right directio

Re: [rspec-users] Configuring RSpec for Integration Test

2011-01-07 Thread David Chelimsky
On Jan 7, 2011, at 8:41 AM, Sarah Allen wrote: > Getting back to this after the holidays... > > David Chelimsky wrote in post #969342: >> If you need to use spec/integration instead, then you'll need to tell >> RSpec to include RSpec::Rails::RequestExampleGroup in those examples. >> You can do th

Re: [rspec-users] Configuring RSpec for Integration Test

2011-01-07 Thread Sarah Allen
Getting back to this after the holidays... David Chelimsky wrote in post #969342: > If you need to use spec/integration instead, then you'll need to tell > RSpec to include RSpec::Rails::RequestExampleGroup in those examples. > You can do that on a per group basis, like this: > > describe "somethi

Re: [rspec-users] Configuring RSpec for Integration Test

2010-12-18 Thread David Chelimsky
On Dec 18, 2010, at 5:32 PM, Sarah Allen wrote: > David Chelimsky wrote in post #969325: >> Per "Webrat and Capybara" on http://relishapp.com/rspec/rspec-rails, all >> you should need now is this in your Gemfile: >> >> gem "capybara" >> >> Cheers, >> David > > I did that, but then it didn't re

Re: [rspec-users] Configuring RSpec for Integration Test

2010-12-18 Thread Sarah Allen
David Chelimsky wrote in post #969325: > Per "Webrat and Capybara" on http://relishapp.com/rspec/rspec-rails, all > you should need now is this in your Gemfile: > > gem "capybara" > > Cheers, > David I did that, but then it didn't recognize my named route "root_path" or the capybara method "vis

Re: [rspec-users] Configuring RSpec for Integration Test

2010-12-18 Thread David Kahn
On Sat, Dec 18, 2010 at 2:47 PM, David Chelimsky wrote: > On Dec 18, 2010, at 2:11 PM, Sarah Allen wrote: > > > In using RSpec for integration testing with Capybara, I was surprised > > thave I needed to do extra configuration. I started with the config > > from this blog post: > > http://codingf

Re: [rspec-users] Configuring RSpec for Integration Test

2010-12-18 Thread David Chelimsky
On Dec 18, 2010, at 2:11 PM, Sarah Allen wrote: > In using RSpec for integration testing with Capybara, I was surprised > thave I needed to do extra configuration. I started with the config > from this blog post: > http://codingfrontier.com/integration-testing-setup-with-rspec-2-and-ca That blog

[rspec-users] Configuring RSpec for Integration Test

2010-12-18 Thread Sarah Allen
In using RSpec for integration testing with Capybara, I was surprised thave I needed to do extra configuration. I started with the config from this blog post: http://codingfrontier.com/integration-testing-setup-with-rspec-2-and-ca and I pared it down to only what I needed to write an integration