spec/api_client_spec.rb in agrid-client-0.0.2 vs spec/api_client_spec.rb in agrid-client-0.0.3
- old
+ new
@@ -6,13 +6,18 @@
describe "#new" do
context "without arguments" do
it "initialize with default configuration" do
version = AgridClient::VERSION
expect(subject.default_headers).to eq({
- 'Content-Type': 'application/json',
- 'User-Agent': "agrid_client/#{version}/ruby"
+ 'Content-Type' => 'application/json',
+ 'User-Agent' => "agrid_client/#{version}/ruby"
})
end
end
- end
+ context "with configuration argument" do
+ it "initialize with configuration received" do
+
+ end
+ end
+ end
end