diff --git a/spec/controllers/ajax/report_controller_spec.rb b/spec/controllers/ajax/report_controller_spec.rb index 5f4e67b8..dc0ac086 100644 --- a/spec/controllers/ajax/report_controller_spec.rb +++ b/spec/controllers/ajax/report_controller_spec.rb @@ -136,7 +136,7 @@ describe Ajax::ReportController, :ajax_controller, type: :controller do let(:expected_response) do { "success" => false, - "status" => "noauth", + "status" => "noauth", "message" => anything } end diff --git a/spec/controllers/ajax/subscription_controller_spec.rb b/spec/controllers/ajax/subscription_controller_spec.rb index 19b21750..6a14aeee 100644 --- a/spec/controllers/ajax/subscription_controller_spec.rb +++ b/spec/controllers/ajax/subscription_controller_spec.rb @@ -25,7 +25,7 @@ describe Ajax::SubscriptionController, :ajax_controller, type: :controller do let(:expected_response) do { "success" => true, - "status" => "okay", + "status" => "okay", "message" => anything } end @@ -96,7 +96,7 @@ describe Ajax::SubscriptionController, :ajax_controller, type: :controller do let(:expected_response) do { "success" => true, - "status" => "okay", + "status" => "okay", "message" => anything } end @@ -116,7 +116,7 @@ describe Ajax::SubscriptionController, :ajax_controller, type: :controller do let(:expected_response) do { "success" => false, - "status" => "okay", + "status" => "okay", "message" => anything } end