Skip to content

Commit 4fea30b

Browse files
committed
Mirror teardown for functions and triggers
1 parent 1f1a81b commit 4fea30b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

spec/fx/adapters/postgres/functions_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
expect(functions).to be_empty
3838

39-
connection.execute "SET search_path = 'public';"
39+
connection.execute "SET search_path = '$user,public';"
4040
connection.execute "DROP SCHEMA IF EXISTS other CASCADE;"
4141
end
4242
end

spec/fx/adapters/postgres/triggers_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
expect(triggers).to be_empty
4646

4747
connection.execute "SET search_path = '$user,public';"
48+
connection.execute "DROP SCHEMA IF EXISTS other CASCADE;"
4849
end
4950
end
5051
end

0 commit comments

Comments
 (0)