Fix test to match adjusted responses
This commit is contained in:
parent
73ac742332
commit
eb16ff83a4
|
@ -136,7 +136,7 @@ describe Ajax::ReportController, :ajax_controller, type: :controller do
|
||||||
let(:expected_response) do
|
let(:expected_response) do
|
||||||
{
|
{
|
||||||
"success" => false,
|
"success" => false,
|
||||||
"status" => "err",
|
"status" => "noauth",
|
||||||
"message" => anything
|
"message" => anything
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
|
@ -25,7 +25,7 @@ describe Ajax::SubscriptionController, :ajax_controller, type: :controller do
|
||||||
let(:expected_response) do
|
let(:expected_response) do
|
||||||
{
|
{
|
||||||
"success" => true,
|
"success" => true,
|
||||||
"status" => 418,
|
"status" => "okay",
|
||||||
"message" => anything
|
"message" => anything
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
@ -96,7 +96,7 @@ describe Ajax::SubscriptionController, :ajax_controller, type: :controller do
|
||||||
let(:expected_response) do
|
let(:expected_response) do
|
||||||
{
|
{
|
||||||
"success" => true,
|
"success" => true,
|
||||||
"status" => 418,
|
"status" => "okay",
|
||||||
"message" => anything
|
"message" => anything
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
@ -116,7 +116,7 @@ describe Ajax::SubscriptionController, :ajax_controller, type: :controller do
|
||||||
let(:expected_response) do
|
let(:expected_response) do
|
||||||
{
|
{
|
||||||
"success" => false,
|
"success" => false,
|
||||||
"status" => 418,
|
"status" => "okay",
|
||||||
"message" => anything
|
"message" => anything
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue