Skip to content

Instantly share code, notes, and snippets.

@eqdw
Created December 20, 2010 19:06
Show Gist options
  • Save eqdw/748827 to your computer and use it in GitHub Desktop.
Save eqdw/748827 to your computer and use it in GitHub Desktop.
it "should return error 401 with bad key" do
get :list, :api_key => "My name is ryan and I'm a big jerkface who goes to Montreal and brags about how awesome the restaurants are"
response.status.should == "401"
end
@nathanbertram
Copy link

github needs a like button :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment