diff --git a/spec/controllers/ajax/report_controller_spec.rb b/spec/controllers/ajax/report_controller_spec.rb index dd8c4c10..5f4e67b8 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" => "err", + "status" => "noauth", "message" => anything } end diff --git a/spec/controllers/ajax/subscription_controller_spec.rb b/spec/controllers/ajax/subscription_controller_spec.rb index 6c82f400..19b21750 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" => 418, + "status" => "okay", "message" => anything } end @@ -96,7 +96,7 @@ describe Ajax::SubscriptionController, :ajax_controller, type: :controller do let(:expected_response) do { "success" => true, - "status" => 418, + "status" => "okay", "message" => anything } end @@ -116,7 +116,7 @@ describe Ajax::SubscriptionController, :ajax_controller, type: :controller do let(:expected_response) do { "success" => false, - "status" => 418, + "status" => "okay", "message" => anything } end