Skip to content

Commit

Permalink
Set HTTP Accept header to application/json
Browse files Browse the repository at this point in the history
  • Loading branch information
allolex committed Feb 2, 2013
1 parent edb2966 commit 6da12bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/connection_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

it "should initialize" do
connection.should be_a Nacre::Connection
connection.connection.headers['Accept'].should == "application/json"
end

describe "authentication" do
Expand Down

0 comments on commit 6da12bc

Please sign in to comment.