mirror of
https://github.com/meineerde/rackstash.git
synced 2026-01-31 17:27:13 +00:00
Drop the default :each on before blocks in rspec
This commit is contained in:
parent
0465b11344
commit
8768630dbb
@ -121,7 +121,7 @@ describe Rackstash::Logger do
|
||||
end
|
||||
}
|
||||
|
||||
before(:each) do
|
||||
before do
|
||||
class_double('Rackstash::Message').as_stubbed_const.tap do |klass|
|
||||
expect(klass).to receive(:new) { |msg, **kwargs| { message: msg, **kwargs } }
|
||||
.at_least(:once)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user