spec/shared/accounts.rb in rom-sql-1.3.5 vs spec/shared/accounts.rb in rom-sql-2.0.0.beta1
- old
+ new
@@ -30,9 +30,13 @@
conn.create_table :subscriptions do
primary_key :id
Integer :card_id
String :service
end
+
+ conf.relation(:accounts) { schema(infer: true) }
+ conf.relation(:cards) { schema(infer: true) }
+ conf.relation(:subscriptions) { schema(infer: true) }
end
before do |example|
next if example.metadata[:seeds] == false