Skip to content

Commit

Permalink
Drop view, not whole schema
Browse files Browse the repository at this point in the history
  • Loading branch information
calebhearth committed May 2, 2024
1 parent 13c3edd commit b89e42d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/scenic/schema_dumper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class SearchInAHaystack < ActiveRecord::Base
expect(output).to include 'create_view "scenic.\"search in a haystack\"",'
expect(output).to include view_definition

Search.connection.execute "DROP SCHEMA IF EXISTS scenic CASCADE;"
Search.connection.execute 'DROP VIEW IF EXISTS scenic."search in a haystack" CASCADE;'

silence_stream($stdout) { eval(output) } # standard:disable Security/Eval

Expand Down

0 comments on commit b89e42d

Please sign in to comment.