Skip to content

Commit

Permalink
fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
martonarbocz committed Jan 8, 2024
1 parent fe29b30 commit 5ad7118
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions spec/sequel_data/migrate/migrator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,6 @@
end

context "when migrations are applied" do
before do
db.create_table(:data_migrations) do
String :version, null: false, primary: true
end
end

after { db.drop_table(:data_migrations) }

it "does not leave extra connections open" do
expect do
migrator.migrate
Expand Down Expand Up @@ -215,7 +207,7 @@

after { db.drop_table(:data_migrations) }

it "rollback database one step" do
it "does not leave extra connections open" do
expect do
migrator.rollback
end.to(not_change do
Expand Down

0 comments on commit 5ad7118

Please sign in to comment.