I generate a new rails3 app using rails new my_app -T.
Then i run cd my_app ; rails generate, and I don't see any test_unit
options. (as expected).
Then I put gem 'rspec-rails' into my Gemfile, and re-run rails
generate.
Now I see options for test_unit.
TestUnit:
test_unit:controller
David,
Thanks; I thought I was going crazy! The ticket is here:
https://rspec.lighthouseapp.com/projects/5645-rspec/tickets/1023-cookie-assignment-and-reading-doesnt-work-if-both-occur-in-the-same-spec
Thanks again!
On Jul 1, 3:27 pm, David Chelimsky dchelim...@gmail.com wrote:
On Jun 29,
On Jul 1, 2010, at 10:48 PM, Woody Peterson li...@ruby-forum.com
wrote:
What are you experiencing and what are you expecting?
If you use rspec in cucumber, cucumber doesn't support --debug as an
option, so you can't use debuggers in cucumber + rspec.
Given RSpec 2.0's api, the expected
On Jul 2, 2010, at 11:11 AM, Arco wrote:
I generate a new rails3 app using rails new my_app -T.
Then i run cd my_app ; rails generate, and I don't see any test_unit
options. (as expected).
Then I put gem 'rspec-rails' into my Gemfile, and re-run rails
generate.
Now I see options for
Hi all,
I'm having a problem where stubbed static methods aren't properly becoming
unstubbed. I have tried manually unstubbing them, but it still doesn't
work.
Spec is as follows:
it creates user accounts for unknown users do
Notification.stub(:deliver_routed)
I want to write a Rails model plugin using RSpec. I'm using Rails 3, Ruby 1.9
and RSpec 2.
I've read the RSpec and Rails documentation but haven't found any examples of
using RSpec in a Rails 3 plugin situation.
Is there a plugin someone can recommend that I can study that would help me set