We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e56e22 commit 50d617dCopy full SHA for 50d617d
spec/fx/statements_spec.rb
@@ -46,7 +46,7 @@
46
47
connection.drop_function(:test)
48
49
- expect(database).to have_received(:drop_function).with(:test)
+ expect(database).to have_received(:drop_function).with(:test, if_exists: false)
50
end
51
52
it "drops the function with if_exists" do
@@ -142,7 +142,7 @@
142
connection.drop_trigger(:test, on: :users)
143
144
expect(database).to have_received(:drop_trigger)
145
- .with(:test, on: :users)
+ .with(:test, on: :users, if_exists: false)
146
147
148
it "drops the trigger with if_exists" do
0 commit comments