[rspec-users] Mocking a Model Class and a View with RSpec-Rails

2010-12-07 Thread Shea Levy
Hi all, I'm new to RSpec and to TDD/Agile methods in general (by "new" I mean I'm about 4/5 of the way through _The RSpec Book_ and haven't yet actually implemented the practices in my projects), so this question may seem silly. Suppose I'm using specs to drive the development of a Users contro

Re: [rspec-users] specing a model to make sure it implements act_as_authentic

2010-12-07 Thread J. B. Rainsberger
On Wed, Dec 8, 2010 at 02:46, ssmithstone wrote: Is it possible to spec that a model should acts_as_authentic which is > from the authlogic gem? > > I'm using rspec-1.3.x > Whenever I don't know how to spec something -- or whether to spec something -- I ask, "If the thing I'm worried about failed

[rspec-users] specing a model to make sure it implements act_as_authentic

2010-12-07 Thread ssmithstone
Is it possible to spec that a model should acts_as_authentic which is from the authlogic gem? I'm using rspec-1.3.x Cheers Stephen ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

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

2010-12-07 Thread David Kahn
Wincent Colaiuta wrote in post #966456: > 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 an