Skip to content

Commit d8e0a29

Browse files
committed
Reset both search_path's to DEFAULT
1 parent e351dbe commit d8e0a29

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

spec/fx/adapters/postgres/functions_spec.rb

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

3737
expect(functions).to be_empty
3838

39-
connection.execute "SET search_path = 'public';"
40-
connection.execute "DROP SCHEMA IF EXISTS other CASCADE;"
39+
connection.execute "SET search_path = '$user,public';"
4140
end
4241
end
4342
end

spec/fx/adapters/postgres/triggers_spec.rb

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

4545
expect(triggers).to be_empty
4646

47-
connection.execute "SET search_path = 'public';"
47+
connection.execute "SET search_path TO DEFAULT;"
4848
end
4949
end
5050
end

0 commit comments

Comments
 (0)