Re: [rspec-users] Unable to get rid of backtrace when running specs (rspec2, rails3)

2010-10-05 Thread David Chelimsky
On Oct 5, 2010, at 6:19 PM, Katrina Owen wrote: > Hi, > > I can't seem to silence the stack trace when running specs. > > Pending specs get this output: > > ChannelsController GET new responds to xml > # why would we want to render xml for Channel.new? > # ./spec/controllers/channel_controll

[rspec-users] Unable to get rid of backtrace when running specs (rspec2, rails3)

2010-10-05 Thread Katrina Owen
Hi, I can't seem to silence the stack trace when running specs. Pending specs get this output: ChannelsController GET new responds to xml # why would we want to render xml for Channel.new? # ./spec/controllers/channel_controller_spec.rb:89 Failing specs get this: Failures: 1) ChannelsCon

Re: [rspec-users] rspec-2.0.0.rc is released

2010-10-05 Thread David Chelimsky
On Oct 5, 2010, at 10:59 AM, David Chelimsky wrote: > > On Oct 5, 2010, at 9:34 AM, Chuck Remes wrote: > >> >> On Oct 4, 2010, at 11:47 PM, David Chelimsky wrote: >> >>> rspec-2.0.0.rc is released! >>> >>> See http://blog.davidchelimsky.net/2010/07/01/rspec-2-documentation/ for >>> links to

Re: [rspec-users] rspec-2.0.0.rc is released

2010-10-05 Thread David Chelimsky
On Oct 5, 2010, at 9:34 AM, Chuck Remes wrote: > > On Oct 4, 2010, at 11:47 PM, David Chelimsky wrote: > >> rspec-2.0.0.rc is released! >> >> See http://blog.davidchelimsky.net/2010/07/01/rspec-2-documentation/ for >> links to all sorts of documentation on rspec-2. >> >> Plan is to release r

Re: [rspec-users] rspec-2.0.0.rc is released

2010-10-05 Thread Chuck Remes
On Oct 4, 2010, at 11:47 PM, David Chelimsky wrote: > rspec-2.0.0.rc is released! > > See http://blog.davidchelimsky.net/2010/07/01/rspec-2-documentation/ for > links to all sorts of documentation on rspec-2. > > Plan is to release rspec-2.0.0 (final) within the next week, so please > install

Re: [rspec-users] using rcov with rspec2

2010-10-05 Thread David Chelimsky
On Tue, Oct 5, 2010 at 7:28 AM, David Chelimsky wrote: > On Tue, Oct 5, 2010 at 6:20 AM, nathanvda wrote: >> On Oct 4, 3:24 am, Will Marshall wrote: >>> > The error i get is this: >>> >>> > `require': no such file to load -- spec_helper (LoadError) >>> >>> The only solution I have found for this

Re: [rspec-users] response.should have_text leads to undefined method `has_text?'

2010-10-05 Thread David Chelimsky
On Sep 30, 2010, at 3:50 PM, turkan wrote: > One of my controllers directly renders some JSON output that I would > like to test with RSpec. For that I use 'response.should > have_text("foobar")' in my spec file, but that leads to a > > Failure/Error: response.should have_text("enim") > undefined

[rspec-users] Routes are not available in RSpec integration test

2010-10-05 Thread Paul Yoder
My RSpec integration tests do not seem to have access to the rails routes methods. Here's a link to my more descriptive question on stack overflow: http://stackoverflow.com/questions/3847102/routes-are-not-available-in-rspec-integration-test Does anyone know how to fix this? __

[rspec-users] response.should have_text leads to undefined method `has_text?'

2010-10-05 Thread turkan
One of my controllers directly renders some JSON output that I would like to test with RSpec. For that I use 'response.should have_text("foobar")' in my spec file, but that leads to a Failure/Error: response.should have_text("enim") undefined method `has_text?' for # I read here somewhere that we

Re: [rspec-users] using rcov with rspec2

2010-10-05 Thread David Chelimsky
On Tue, Oct 5, 2010 at 6:20 AM, nathanvda wrote: > On Oct 4, 3:24 am, Will Marshall wrote: >> > The error i get is this: >> >> > `require': no such file to load -- spec_helper (LoadError) >> >> The only solution I have found for this is to revert from rspec-rails >> beta.22 to rspec-rails beta.20

Re: [rspec-users] using rcov with rspec2

2010-10-05 Thread nathanvda
I hoped the new rspec2.0.0.rc would fix it, but it doesn't. I hope anybody can shed any light on this? On Oct 4, 3:24 am, Will Marshall wrote: > > The error i get is this: > > > `require': no such file to load -- spec_helper (LoadError) > > The only solution I have found for this is to revert fr

Re: [rspec-users] rspec-1.3.1.rc and rspec-rails-1.3.3.rc are released!

2010-10-05 Thread Tom Stuart
Hi David, On 3 Oct 2010, at 23:41, David Chelimsky wrote: > These are release candidate gems for updates 1.x series, including some bug > fixes and deprecation warnings for functionality that will be removed in > rspec-2. I'm having to maintain a fork of RSpec just so that I can revert the comm