spec/shared/users.rb in rom-sql-1.3.5 vs spec/shared/users.rb in rom-sql-2.0.0.beta1

- old
+ new

@@ -17,9 +17,11 @@ conn.create_table :users do primary_key :id String :name, text: false, null: false check { char_length(name) > 2 } if ctx.postgres?(example) end + + conf.relation(:users) { schema(infer: true) } end before do |example| next if example.metadata[:seeds] == false