Skip to content

Commit fce0f8b

Browse files
committed
Use StringDefault as class name which is ActiveRecord convention.
1 parent f549de5 commit fce0f8b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/cases/specific_schema_test_sqlserver.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
require 'cases/sqlserver_helper'
22

3-
class StringDefaults < ActiveRecord::Base; end;
3+
class StringDefault < ActiveRecord::Base; end;
44

55
class SpecificSchemaTestSqlserver < ActiveRecord::TestCase
66

77
should 'default strings before save' do
8-
default = StringDefaults.new
8+
default = StringDefault.new
99
assert_equal nil, default.string_with_null_default
1010
assert_equal 'null', default.string_with_pretend_null_one
1111
assert_equal '(null)', default.string_with_pretend_null_two
@@ -14,7 +14,7 @@ class SpecificSchemaTestSqlserver < ActiveRecord::TestCase
1414
end
1515

1616
should 'default strings after save' do
17-
default = StringDefaults.create
17+
default = StringDefault.create
1818
assert_equal nil, default.string_with_null_default
1919
assert_equal 'null', default.string_with_pretend_null_one
2020
assert_equal '(null)', default.string_with_pretend_null_two

0 commit comments

Comments
 (0)