Re: [rspec-users] How to remove this deprecation warning

2011-09-01 Thread Jim Morris
I didn't think of looking in closed bugs :) I guess the fix has not made into the current release. I think this gives me enough clues as to what I need to do to fix it though, thanks ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyfor

Re: [rspec-users] rails 3.1 with guard, not detecting changes

2011-09-01 Thread Chris Habgood
Yes I needed to run the guard with bundle exec. On Thu, Sep 1, 2011 at 09:58, Tim Gremore wrote: > Have you added any of the available Guards (guard-rails) to your project? > https://github.com/guard/guard/wiki/List-of-available-Guards > > On Sun, Aug 28, 2011 at 9:36 PM, Chris Habgood wrote: >

Re: [rspec-users] rails 3.1 with guard, not detecting changes

2011-09-01 Thread Tim Gremore
Have you added any of the available Guards (guard-rails) to your project? https://github.com/guard/guard/wiki/List-of-available-Guards On Sun, Aug 28, 2011 at 9:36 PM, Chris Habgood wrote: > I am using guard to detect changes and run rspec automatically. It doe > snot seem to see my changes in

Re: [rspec-users] Redirect App for RSpec 2

2011-09-01 Thread David Chelimsky
On Aug 29, 2011, at 6:16 PM, rahul baxi wrote: > Hi, > > My name is Rahul and I'm an RoR developer. > I would like to volunteer and write an app to manage redirects on the > rspec.info site. > > Please let me know if anyone else hasn't taken this up already. > > Thanks, > Rahul Thank you for

Re: [rspec-users] How to remove this deprecation warning

2011-09-01 Thread Lenny Marks
On Sep 1, 2011, at 5:03 AM, Jim Morris wrote: > Hi, > > After upgrading to rails 3.1 and rspec-rails 2.6.1 I get the following > deprecation warning, however as far as I can tell I am not defining any > examples before it is called. > > I am using the default spec_helper generated with rails

[rspec-users] Anonymous controller not working

2011-09-01 Thread Federico Gonzalez
I have the following files. # application_controller_spec.rb require 'spec_helper' describe ApplicationController do controller do def index raise CanCan::AccessDenied.new("Not authorized!", :read, Order) end end describe "rescue from AccessDenied" do it "should r

[rspec-users] write an app to manage redirects

2011-09-01 Thread srini 1971
Hi Can i be allowed to "write an app to manage redirects" Regards, Srinivasan ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

[rspec-users] Redirect App for RSpec 2

2011-09-01 Thread rahul baxi
Hi, My name is Rahul and I'm an RoR developer. I would like to volunteer and write an app to manage redirects on the rspec.info site. Please let me know if anyone else hasn't taken this up already. Thanks, Rahul ___ rspec-users mailing list rspec-users

[rspec-users] What causes "undefined method `each_pair'"?

2011-09-01 Thread Nick
Hey folks. I've been running into this problem a lot lately, and haven't been able to figure out what's causing it, nor how to fix it: Failure/Error: @importer = SpreadsheetImporter.new @catalog, @excel, @photos_dir NoMethodError: undefined method `each_pair' for # # ./app/models/spreadsheet_i

[rspec-users] How to remove this deprecation warning

2011-09-01 Thread Jim Morris
Hi, After upgrading to rails 3.1 and rspec-rails 2.6.1 I get the following deprecation warning, however as far as I can tell I am not defining any examples before it is called. I am using the default spec_helper generated with rails g rspec:install so why this warning? Thanks ***

[rspec-users] Selectively ignoring exceptions in examples

2011-09-01 Thread Ash Moran
Hi all Long time since I've posted here, hope you're all well :-) I have a question about ignoring exceptions when they're not interesting. For example, I have a few cases in my code along these lines… it "prints an error" do expect { run_command(%w[ missing_wallet.dat ])

[rspec-users] rails 3.1 with guard, not detecting changes

2011-09-01 Thread Chris Habgood
I am using guard to detect changes and run rspec automatically. It doe snot seem to see my changes in a model when guard is run. When I run "rake spec" from the cli rspec runs fine. Does anyone know why this might be happening? ___ rspec-users mailin

Re: [rspec-users] Better visualizations of spec running time besides --profile?

2011-09-01 Thread Ash Moran
On 31 Aug 2011, at 23:06, John Feminella wrote: > We have about 2,000 specs in a Rails app that take roughly 80 seconds > to run, and I'm trying to improve the performance of things a bit. > > While the profile mode has proven useful so far, it only shows the top > ten slowest specs. Unfortunate