Displaying 1 result from an estimated 1 matches for "joeschmo".
Did you mean:
joeschmoe
2007 Feb 01
3
should_redirect_to in rspec-0.8.0 / rspec_on_rails 1453
I have a spec:
specify "a post with no user id should add a record" do
post :edit_or_create, :user => {:login => ''joeschmoe'', :email =>
''joe at shmoe.com'', :email_confirmation => ''joe at shmoe.com'', :full_name
=> ''Joe Schmoe''}
assigns[:user].should_not_be_nil
assigns[:user].new_record?.should_not_be(true)
flash[:notice].should_ma...