Skip to content

Commit

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

context "migrations are applied" do
context "when migrations are applied" do
before do
db.create_table(:data_migrations) do
String :version, null: false, primary: true
Expand All @@ -130,9 +130,9 @@
it "does not leave extra connections open" do
expect do
migrator.migrate
end.to not_change {
end.to(not_change do
Sequel::DATABASES.size
}
end)
end
end
end
Expand Down Expand Up @@ -218,9 +218,9 @@
it "rollback database one step" do
expect do
migrator.rollback
end.to not_change {
end.to(not_change do
Sequel::DATABASES.size
}
end)
end
end
end
Expand Down

0 comments on commit fe29b30

Please sign in to comment.