Skip to content

Commit

Permalink
Fix typo in base spec
Browse files Browse the repository at this point in the history
  • Loading branch information
rlivsey committed Nov 3, 2009
1 parent 20cf2df commit ed96a49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/base_spec.rb
Expand Up @@ -2,11 +2,12 @@
describe RSpreedly::Base do

describe "#api_request" do
it "should raise AccessDenied if a 401 is receiver" do
it "should raise AccessDenied if a 401 is received" do
stub_http_with_code(401)
lambda{
RSpreedly::Base.api_request(:put, '/')
}.should raise_error(RSpreedly::Error::AccessDenied)
end

end
end

0 comments on commit ed96a49

Please sign in to comment.