spec/shared/users.rb in rom-sql-1.2.2 vs spec/shared/users.rb in rom-sql-1.3.0
- old
+ new
@@ -14,10 +14,10 @@
before do |example|
ctx = self
conn.create_table :users do
primary_key :id
- String :name, null: false
+ String :name, text: false, null: false
check { char_length(name) > 2 } if ctx.postgres?(example)
end
end
before do |example|