Re: [rspec-users] Rspec: `should': uninitialized constant RSpec::Expectations (NameError)

2010-12-06 Thread Wincent Colaiuta
El 06/12/2010, a las 01:19, DK escribió: > Hi all, anyone have an idea why I am getting an error trying to 'rake > spec': > > 'kernel.rb:27:in `should': uninitialized constant RSpec::Expectations > (NameError)'. Can you paste the full backtrace and the code of the spec which is causing this fai

Re: [rspec-users] RSpec 2.1.0 Start up problems

2010-12-06 Thread Bharat
Thanks David and apologies. I should have looked harder. By the way, I have an extensive Shoulda test suite for my open source Rails 3 project. Do you have any advice on how to port it to RSpec? Here is the link in case you are interested http://www.github.com/bruparel/file_manager3 Currently it

[rspec-users] Controller specs for sub-controllers

2010-12-06 Thread Dean
I'm completely new to RSpec (and fairly new to Rails, too.) I'm working on an existing application that has an Admin::BaseController and sub-controllers such as Admin:TestimonialsController: class Admin::BaseController < ApplicationController end class Admin::TestimonialsController < Admin:

Re: [rspec-users] Rspec: `should': uninitialized constant RSpec::Expectations (NameError)

2010-12-06 Thread David K.
David Chelimsky wrote in post #966405: > On Sun, Dec 5, 2010 at 6:19 PM, DK wrote: >> Hi all, anyone have an idea why I am getting an error trying to 'rake >> spec': >> >> 'kernel.rb:27:in `should': uninitialized constant RSpec::Expectations >> (NameError)'. > > Looking through the code I can see

[rspec-users] Problem with 1.9.2

2010-12-06 Thread Nicholas Wieland
Hi guys, I'm not entirely sure this is a problem with RSpec or cucumber, for sure it's happening after the last gem update under 1.9.2 (rvm). Backtrace: https://gist.github.com/730995 Gemfile: https://gist.github.com/730999 I've tried to search the archives but even if the "circular require cons

Re: [rspec-users] Problem with 1.9.2

2010-12-06 Thread Martin Hawkins
I had this problem too. I am in a project that has 1.9.2 and a similar list of gems. I'm afraid I chickened out of using autotest and use watchr instead. On Dec 6, 9:49 pm, Nicholas Wieland wrote: > Hi guys, I'm not entirely sure this is a problem with RSpec or cucumber, for > sure it's happenin

[rspec-users] Change setting to receive emails when posted?

2010-12-06 Thread David Kahn
This is an administrative question: I joined this group yesterday and when I try to save my preferences it does not allow me to select "Email (approximately 12 emails per day)" is it just me or does everyone just get a digest (I would rather have things in real time)... Thanks, David

[rspec-users] making sure a model acts_as_authentic

2010-12-06 Thread Stephen Smithstone
Is there any way to spec that a model should acts_as_authentic which is from the authlogic plugin im using rspec-1 Stephen Smithstone ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

[rspec-users] Unexpected before :each behavior.

2010-12-06 Thread Andrew Kasper
Hi gang. I've come across what I believe to be unexpected behavior for some of my before :each blocks, and I wonder if anyone can enlighten me as to why this is happening. The surprising thing happens when I run a 'before :each' inside of an each block on a Hash. I have a #before_save hook in my

Re: [rspec-users] Unexpected before :each behavior.

2010-12-06 Thread David Chelimsky
On Dec 6, 2010, at 8:12 PM, Andrew Kasper wrote: > Hi gang. > > I've come across what I believe to be unexpected behavior for some of my > before :each blocks, and I wonder if anyone can enlighten me as to why this > is happening. > > The surprising thing happens when I run a 'before :each' in