Re: [rspec-users] rspec command for rspec-2.0.0.beta.19

2010-08-15 Thread Pat Maddox
What does "gem list rspec" show? And "echo $PATH" ? On Aug 10, 2010, at 9:17 AM, Brad Pauly wrote: > I've just uninstalled all versions of rspec and installed > rspec-2.0.0.beta.19 and rspec-rails-2.0.0.beta.19 for a rails project > and I can't find the rspec command. Based on what bundler is t

Re: [rspec-users] rspec command for rspec-2.0.0.beta.19

2010-08-15 Thread David Chelimsky
On Tue, Aug 10, 2010 at 11:17 AM, Brad Pauly wrote: > I've just uninstalled all versions of rspec and installed > rspec-2.0.0.beta.19 and rspec-rails-2.0.0.beta.19 for a rails project > and I can't find the rspec command. Based on what bundler is telling > me, I think it should be in: /usr/local/l

[rspec-users] 2.0.0.beta.19 installation problem

2010-08-15 Thread Craig Castelaz
I purchased the beta version of the PragBook yesterday, but didn't get a chance to begin reading until tonight. I'm currently stuck on installing rspec. ~$ sudo gem install rspec --version 2.0.0.beta.19 ** Thank you for installing rspec-core-2.0.0

Re: [rspec-users] Specifying which spec types helper modules get included into in the RSpec.configure block

2010-08-15 Thread David Chelimsky
On Tue, Aug 10, 2010 at 3:47 PM, John Firebaugh wrote: > On Jul 30, 9:14 am, S Bennett wrote: >> Am I doing something wrong or has the syntax for specifying which spec >> types the modules get included into changed? > > I have the same problem. I filed an issue: > > http://github.com/rspec/rspec-

Re: [rspec-users] Including modules for view test in RSpec 2.0.0.beta.19

2010-08-15 Thread David Chelimsky
On Tue, Aug 10, 2010 at 9:21 AM, Dane Harrigan wrote: > Hey guys, > > I used RSpec 1.3 quite a bit and wanted to move to 2.0. I'm having > some trouble, but I think I'm just missing something. > > On this pastie you'll see my spec/support/view_helpers.rb, spec/ > spec_helper.rb file and header.ham

Re: [rspec-users] Calling script/spec from directories other than RAILS_ROOT

2010-08-15 Thread David Chelimsky
On Wed, Aug 11, 2010 at 11:56 AM, samullen wrote: > I've written a simple shell function which, depending on where it is > called, will ascend the directory tree until it finds ./script/spec > or, failing that, the spec first found in $PATH. What I'm running into > is that although my tests pass w

Re: [rspec-users] Specifying which spec types helper modules get included into in the RSpec.configure block

2010-08-15 Thread John Firebaugh
On Jul 30, 9:14 am, S Bennett wrote: > Am I doing something wrong or has the syntax for specifying which spec > types the modules get included into changed? I have the same problem. I filed an issue: http://github.com/rspec/rspec-rails/issues/issue/159 ___

Re: [rspec-users] issue with rescue_action_in_public! and testing 404 responses

2010-08-15 Thread John Firebaugh
On Aug 9, 7:21 pm, David Chelimsky wrote: > It's up to you to handle the error in the controller. Something like this in > ApplicationController: > >   rescue_from ActiveRecord::RecordNotFound do >     render '/404.html', :layout => false, :status => :not_found >   end Actually, I believe this i

[rspec-users] Including modules for view test in RSpec 2.0.0.beta.19

2010-08-15 Thread Dane Harrigan
Hey guys, I used RSpec 1.3 quite a bit and wanted to move to 2.0. I'm having some trouble, but I think I'm just missing something. On this pastie you'll see my spec/support/view_helpers.rb, spec/ spec_helper.rb file and header.haml spec file., http://pastie.org/1081962 On line 11 of the spec_hel

[rspec-users] rspec command for rspec-2.0.0.beta.19

2010-08-15 Thread Brad Pauly
I've just uninstalled all versions of rspec and installed rspec-2.0.0.beta.19 and rspec-rails-2.0.0.beta.19 for a rails project and I can't find the rspec command. Based on what bundler is telling me, I think it should be in: /usr/local/lib/ruby/gems/1.8/gems/bin/ but it isn't. $ bundle show rspec

[rspec-users] Calling script/spec from directories other than RAILS_ROOT

2010-08-15 Thread samullen
I've written a simple shell function which, depending on where it is called, will ascend the directory tree until it finds ./script/spec or, failing that, the spec first found in $PATH. What I'm running into is that although my tests pass when I call script/spec from RAILS_ROOT, they do not pass wh