File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11require 'cases/sqlserver_helper'
22
3- class StringDefaults < ActiveRecord ::Base ; end ;
3+ class StringDefault < ActiveRecord ::Base ; end ;
44
55class 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
You can’t perform that action at this time.
0 commit comments