Re: [rspec-users] Rake spec failure in beta.13

2010-06-25 Thread David Chelimsky
On Jun 24, 2010, at 11:05 PM, geetarista wrote: > http://gist.github.com/452385 > > (It's the default generated from rails g rspec:install). > > I'm not sure what else it could be. I literally change my Gemfile > from beta.12 (where specs work) to beta.13 run 'bundle install/update' > and it t

Re: [rspec-users] Rake spec failure in beta.13

2010-06-25 Thread geetarista
That did not fix it. On Jun 25, 3:41 am, David Chelimsky wrote: > On Jun 24, 2010, at 11:05 PM, geetarista wrote: > > >http://gist.github.com/452385 > > > (It's the default generated from rails g rspec:install). > > > I'm not sure what else it could be.  I literally change my Gemfile > > from bet

Re: [rspec-users] Rake spec failure in beta.13

2010-06-25 Thread Wincent Colaiuta
El 25/06/2010, a las 15:38, geetarista escribió: > That did not fix it. What have you got in your Gemfile? Cheers, Wincent ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Rake spec failure in beta.13

2010-06-25 Thread geetarista
Gemfile: http://gist.github.com/453032 On Jun 25, 7:41 am, Wincent Colaiuta wrote: > El 25/06/2010, a las 15:38, geetarista escribió: > > > That did not fix it. > > What have you got in your Gemfile? > > Cheers, > Wincent > > ___ > rspec-users mailing l

[rspec-users] Quickie blog article about dealing with Bundler, RSpec and Rake

2010-06-25 Thread Rick DeNatale
http://talklikeaduck.denhaven2.com/2010/06/25/making-rspec-rake-and-bundler-play-well-together Note this is for Rails 2.3, not sure if Rails 3 and Rspec 2 would be different. -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Github: http://github.com/rubyredrick Twitter: @RickDeNatale

Re: [rspec-users] Rake spec failure in beta.13

2010-06-25 Thread Wincent Colaiuta
El 25/06/2010, a las 17:44, geetarista escribió: > Gemfile: http://gist.github.com/453032 > > On Jun 25, 7:41 am, Wincent Colaiuta wrote: >> El 25/06/2010, a las 15:38, geetarista escribió: >> >>> That did not fix it. >> >> What have you got in your Gemfile? (Aside: please don't top-post; it

[rspec-users] Testing only for a redirect

2010-06-25 Thread Marcelo de Moraes Serpa
Hello guys, Quick question: How could I just test if a redirect was made, without URL whatsoever? Thanks, Marcelo. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Testing only for a redirect

2010-06-25 Thread David Chelimsky
On Fri, Jun 25, 2010 at 1:56 PM, Marcelo de Moraes Serpa wrote: > Hello guys, > > Quick question: How could I just test if a redirect was made, without URL > whatsoever? In rspec-1/rails-2: response.should be_redirect This is not in rspec-rails-2 yet, so you can just go with the rails assertion

Re: [rspec-users] Testing only for a redirect

2010-06-25 Thread Marcelo de Moraes Serpa
Thanks David! :) Marcelo. On Fri, Jun 25, 2010 at 2:18 PM, David Chelimsky wrote: > On Fri, Jun 25, 2010 at 1:56 PM, Marcelo de Moraes Serpa > wrote: > > Hello guys, > > > > Quick question: How could I just test if a redirect was made, without URL > > whatsoever? > > In rspec-1/rails-2: > > res

Re: [rspec-users] Rake spec failure in beta.13

2010-06-25 Thread geetarista
Sorry about that. For some reason I thought Google Reader stripped that automatically. I added ":require => nil" because I had read somewhere that it was good to do so. Can't remember why or where. Taking it out does not fix the failure. I just haven't upgraded Haml because it's not top priorit

Re: [rspec-users] Testing only for a redirect

2010-06-25 Thread David Chelimsky
On Jun 25, 2010, at 4:00 PM, Marcelo de Moraes Serpa wrote: > On Fri, Jun 25, 2010 at 2:18 PM, David Chelimsky wrote: > On Fri, Jun 25, 2010 at 1:56 PM, Marcelo de Moraes Serpa > wrote: > > Hello guys, > > > > Quick question: How could I just test if a redirect was made, without URL > > whatsoe

[rspec-users] [Rails] Can't get controller test working with RSpec 2 and edge Rails 3

2010-06-25 Thread Patrick Gannon
Not sure if this is a Rails 3 issue or an RSpec 2 issue, but I can't seem to get a standard controller test working - it seems that the 'get' method can't be found. I have a controller test that looks like this (named "discrepancies_controller_spec.rb" in spec/controllers directory): require 'spe

Re: [rspec-users] Testing only for a redirect

2010-06-25 Thread Marcelo de Moraes Serpa
I'm still on the Rails 2 era.. so, it worked like a charm with response.should be_redirect. Thanks, Marcelo. On Fri, Jun 25, 2010 at 4:33 PM, David Chelimsky wrote: > > On Jun 25, 2010, at 4:00 PM, Marcelo de Moraes Serpa wrote: > > On Fri, Jun 25, 2010 at 2:18 PM, David Chelimsky wrote: > >> O

Re: [rspec-users] Testing only for a redirect

2010-06-25 Thread Marcelo de Moraes Serpa
I meant rspec1.x :) On Fri, Jun 25, 2010 at 6:15 PM, Marcelo de Moraes Serpa < celose...@gmail.com> wrote: > I'm still on the Rails 2 era.. so, it worked like a charm with > response.should be_redirect. > > Thanks, > > Marcelo. > > On Fri, Jun 25, 2010 at 4:33 PM, David Chelimsky wrote: > >> >> O

Re: [rspec-users] [Rails] Can't get controller test working with RSpec 2 and edge Rails 3

2010-06-25 Thread David Chelimsky
On Jun 25, 2010, at 5:02 PM, Patrick Gannon wrote: > Not sure if this is a Rails 3 issue or an RSpec 2 issue, but I can't seem to > get a standard controller test working - it seems that the 'get' method can't > be found. > > I have a controller test that looks like this (named > "discrepancie

Re: [rspec-users] [Rails] Can't get controller test working with RSpec 2 and edge Rails 3

2010-06-25 Thread dchelim...@gmail.com
On Jun 25, 9:21 pm, David Chelimsky wrote: > On Jun 25, 2010, at 5:02 PM, Patrick Gannon wrote: > > > > > > > Not sure if this is a Rails 3 issue or an RSpec 2 issue, but I can't seem > > to get a standard controller test working - it seems that the 'get' method > > can't be found. > > > I hav