rm redundant brackets

This commit is contained in:
Rimian Perkins 2019-09-15 12:34:36 +10:00
parent a42e98ee5b
commit 85a90b091c

View File

@ -60,7 +60,7 @@ module DiscoursePatrons
aggregate_failures do
expect(response).to have_http_status(200)
expect(JSON.parse(response.body)).to eq({ "error" => "Not found" })
expect(JSON.parse(response.body)).to eq("error" => "Not found")
end
end
@ -70,7 +70,7 @@ module DiscoursePatrons
aggregate_failures do
expect(response).to have_http_status(200)
expect(JSON.parse(response.body)).to eq({ "error" => "Not found" })
expect(JSON.parse(response.body)).to eq("error" => "Not found")
end
end
end