Skip to content

Commit

Permalink
Remove unnecessary text in test output
Browse files Browse the repository at this point in the history
  • Loading branch information
rkrage authored and jcoleman committed Jun 14, 2024
1 parent 4a876e4 commit 15ca9e1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spec/pg_ha_migrations_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,10 @@ def pg_ha_migrations_test_method
# Because our method now lives outside of the inheritance
# hierarchy we can go back to using RSpec's method mocking.
expect(ActiveRecord::Base.connection).to receive(:pg_ha_migrations_test_method).and_return("sentinel_value")
expect(subclass.new.unsafe_pg_ha_migrations_test_method).to eq("sentinel_value")

subclass.suppress_messages do
expect(subclass.new.unsafe_pg_ha_migrations_test_method).to eq("sentinel_value")
end
end
end
end
Expand Down

0 comments on commit 15ca9e1

Please sign in to comment.