summaryrefslogtreecommitdiff
path: root/spec/models/postgresql/replication_slot_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/postgresql/replication_slot_spec.rb')
-rw-r--r--spec/models/postgresql/replication_slot_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/postgresql/replication_slot_spec.rb b/spec/models/postgresql/replication_slot_spec.rb
index 63a19541ab5..35c166ab064 100644
--- a/spec/models/postgresql/replication_slot_spec.rb
+++ b/spec/models/postgresql/replication_slot_spec.rb
@@ -116,7 +116,7 @@ RSpec.describe Postgresql::ReplicationSlot do
describe '#slots_retained_bytes' do
it 'returns the number of retained bytes' do
- slot = described_class.slots_retained_bytes.find {|x| x['slot_name'] == 'test_slot' }
+ slot = described_class.slots_retained_bytes.find { |x| x['slot_name'] == 'test_slot' }
expect(slot).not_to be_nil
expect(slot['retained_bytes']).to be_nil