From 6da12bc4e05bf5caeb97ca5d697f35563b3f942e Mon Sep 17 00:00:00 2001 From: Damon Davison Date: Sat, 2 Feb 2013 18:46:42 +0000 Subject: [PATCH] Set HTTP Accept header to application/json --- spec/connection_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/connection_spec.rb b/spec/connection_spec.rb index eefcb09..737c4d7 100644 --- a/spec/connection_spec.rb +++ b/spec/connection_spec.rb @@ -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