Skip to content

Instantly share code, notes, and snippets.

@jpemberthy
Created May 20, 2009 17:42
Show Gist options
  • Save jpemberthy/114971 to your computer and use it in GitHub Desktop.
Save jpemberthy/114971 to your computer and use it in GitHub Desktop.
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