]> source.dussan.org Git - redmine.git/commitdiff
Removes a space before argument parentheses.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 16 Mar 2011 18:30:37 +0000 (18:30 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 16 Mar 2011 18:30:37 +0000 (18:30 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5152 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/test_helper.rb

index a6ef56b5fed20ab014c02134173b479716d7102e..230cc58693c04f34ca72663f48cd0c2693444ba9 100644 (file)
@@ -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