spec/features/operation/request_spec.rb in evil-client-3.0.2 vs spec/features/operation/request_spec.rb in evil-client-3.0.3

- old
+ new

@@ -42,11 +42,11 @@ let(:meth) { :post } let(:body) { '{"name":"Andy"}' } let(:head) do { "Authorization" => "Basic YW5keTpmb28=", - "Content-Type" => "application/json" + "Content-Type" => "application/json" } end end it_behaves_like :valid_client, "with a proper query" do @@ -56,11 +56,11 @@ let(:meth) { :post } let(:body) { '{"name":"Andy"}' } let(:head) do { "Authorization" => "Basic YW5keTpmb28=", - "Content-Type" => "application/json" + "Content-Type" => "application/json" } end end it_behaves_like :valid_client, "using current settings" do @@ -71,11 +71,11 @@ let(:body) { '{"name":"Joe"}' } let(:head) { {} } let(:head) do { "Authorization" => "Basic YW5keTpmb28=", - "Content-Type" => "application/json" + "Content-Type" => "application/json" } end end it_behaves_like :valid_client, "using reloaded settings" do @@ -85,10 +85,10 @@ let(:meth) { :put } let(:body) { "name=Joe" } let(:head) do { "Authorization" => "Basic YW5keTpmb28=", - "Content-Type" => "application/x-www-form-urlencoded" + "Content-Type" => "application/x-www-form-urlencoded" } end end end