spec/shared/users_and_tasks.rb in rom-sql-1.3.5 vs spec/shared/users_and_tasks.rb in rom-sql-2.0.0.beta1
- old
+ new
@@ -30,9 +30,13 @@
conn.create_table :task_tags do
primary_key [:tag_id, :task_id]
Integer :tag_id
Integer :task_id
end
+
+ conf.relation(:tasks) { schema(infer: true) }
+ conf.relation(:task_tags) { schema(infer: true) }
+ conf.relation(:tags) { schema(infer: true) }
end
before do |example|
next if example.metadata[:seeds] == false