]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/trace_test.rb
Standardise on double quoted strings
[rails.git] / test / models / trace_test.rb
index 3aaf75e87602bd7613db63627e33c09225602d18..8b210ec2596dffc0773c73119242796f61d5ce19 100644 (file)
@@ -1,4 +1,4 @@
-require 'test_helper'
+require "test_helper"
 
 class TraceTest < ActiveSupport::TestCase
   api_fixtures
@@ -40,11 +40,11 @@ class TraceTest < ActiveSupport::TestCase
   def test_validations
     trace_valid({})
     trace_valid({ :user_id => nil }, false)
-    trace_valid(:name => 'a' * 255)
-    trace_valid({ :name => 'a' * 256 }, false)
+    trace_valid(:name => "a" * 255)
+    trace_valid({ :name => "a" * 256 }, false)
     trace_valid({ :description => nil }, false)
-    trace_valid(:description => 'a' * 255)
-    trace_valid({ :description => 'a' * 256 }, false)
+    trace_valid(:description => "a" * 255)
+    trace_valid({ :description => "a" * 256 }, false)
     trace_valid(:visibility => "private")
     trace_valid(:visibility => "public")
     trace_valid(:visibility => "trackable")