File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -23,3 +23,6 @@ Style/HashConversion:
2323
2424RSpec/VerifiedDoubleReference :
2525 EnforcedStyle : string
26+
27+ RSpec/ExampleLength :
28+ Max : 50
Original file line number Diff line number Diff line change 2626 bunny_options : {
2727 bar : 2 ,
2828 log_level : "warn" ,
29- }
29+ } ,
3030 }
3131 end
3232
33- specify do
33+ it "setups sneakers properly and runs daemon" do
3434 expect ( Sneakers ) . to receive ( :configure ) . with (
3535 connection : bunny_double ,
3636 env : "test" ,
5858
5959 expect ( sneaker_logger_double ) . to receive ( :level= ) . with ( "warn" )
6060 expect ( runner_double ) . to receive ( :run )
61+
6162 Rabbit ::Daemon . run ( logger : logger_double )
6263 end
6364end
Original file line number Diff line number Diff line change 4949 )
5050 end
5151
52- it "publishes" do # rubocop:disable RSpec/ExampleLength
52+ it "publishes" do
5353 if expect_to_use_job
5454 log_line = 'test_group_id.test_project_id.some_exchange / some_queue / ' \
5555 '{"foo"=>"bar"} / some_event / confirm: {"hello"=>"world"}'
You can’t perform that action at this time.
0 commit comments