Skip to content

Commit 50d617d

Browse files
committed
Fixing 2 tests
1 parent 3e56e22 commit 50d617d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/fx/statements_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
connection.drop_function(:test)
4848

49-
expect(database).to have_received(:drop_function).with(:test)
49+
expect(database).to have_received(:drop_function).with(:test, if_exists: false)
5050
end
5151

5252
it "drops the function with if_exists" do
@@ -142,7 +142,7 @@
142142
connection.drop_trigger(:test, on: :users)
143143

144144
expect(database).to have_received(:drop_trigger)
145-
.with(:test, on: :users)
145+
.with(:test, on: :users, if_exists: false)
146146
end
147147

148148
it "drops the trigger with if_exists" do

0 commit comments

Comments
 (0)