Skip to content

Commit 5039888

Browse files
committed
Remove unused before block from unit tests
1 parent fdd8f06 commit 5039888

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

spec/unit/provider/postgresql_conf/ruby_spec.rb

-7
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,6 @@
77
let(:resource) { Puppet::Type.type(:postgresql_conf).new(name: 'foo', value: 'bar') }
88
let(:provider) { resource.provider }
99

10-
before(:each) do
11-
allow(provider).to receive(:file_path).and_return('/tmp/foo')
12-
allow(provider).to receive(:read_file).and_return('foo = bar')
13-
allow(provider).to receive(:write_file).and_return(true)
14-
end
15-
# rubocop:enable RSpec/ReceiveMessages
16-
1710
it 'has a method parse_config' do
1811
expect(provider).to respond_to(:parse_config)
1912
end

0 commit comments

Comments
 (0)