spec/support/driver_tables_collection.rb in baza-0.0.21 vs spec/support/driver_tables_collection.rb in baza-0.0.22
- old
+ new
@@ -22,10 +22,10 @@
driver.after
end
it "creates tables" do
expect(test_table.name).to eq "test"
- expect(db.tables[:test]).to_not eq nil
+ expect(db.tables[:test].name).to eq "test"
end
it "#list" do
test_table
expect(db.tables.list).to include test_table