spec/rapidash/client_spec.rb in rapidash-0.3.0.beta vs spec/rapidash/client_spec.rb in rapidash-0.3.0.beta2
- old
+ new
@@ -97,10 +97,10 @@
describe ".encode_request_with" do
let(:klass) { test_client.class }
it "should set encoder for valid argument" do
klass.encode_request_with(:json)
- expect(klass.encoder).to eq :json
+ expect(klass.encoder).to eq :multi_json
end
it "should raise exception for invalid argument" do
expect {
klass.encode_request_with(:wibble)