diff --git a/test/test_helper.rb b/test/test_helper.rb index 1ff99cac..d270393b 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -416,7 +416,7 @@ class ActiveSupport::TestCase # Checks that the response is a valid JSON string def self.should_be_a_valid_json_string should "be a valid JSON string (or empty)" do - assert (response.body.blank? || ActiveSupport::JSON.decode(response.body)) + assert(response.body.blank? || ActiveSupport::JSON.decode(response.body)) end end