Created
May 20, 2009 17:42
-
-
Save jpemberthy/114971 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| describe "responding to GET link_account with VALID Token" do | |
| before do | |
| authenticate_user | |
| controller.stubs(:update_token).returns('valid_token') | |
| #controller.stubs(:current_user).returns(Factory(:user)) | |
| get :link_account, :token => 'single_token' | |
| end | |
| it "should redirect_to calendar contact" do | |
| controller.stubs(:current_user).returns(assigns(:current_user)) | |
| response.should redirect_to(:action => 'contact_calendar') | |
| end | |
| end | |
| 1) | |
| NoMethodError in 'SignupsController responding to GET link_account with VALID Token should redirect_to calendar contact' | |
| undefined method `prefix_options=' for #<Object:0x42a6c10> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment