File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 139139 let ( :simplecov_module ) { double ( 'SimpleCov' ) }
140140
141141 it 'should call SimpleCov.start' do
142- subject = described_class . new ( simplecov_module : simplecov_module )
142+ subject = described_class . new ( simplecov_module :)
143143 expected_hook_proc = subject . send ( :at_exit_hook ) . to_proc
144144 expect ( simplecov_module ) . to receive ( :at_exit ) do |&block |
145145 # Verify that the block passed to #at_exit is equivalent to the expected hook proc
153153 context 'when a start_config_block is set' do
154154 it 'should call SimpleCov.start with that block' do
155155 start_config_block = proc { }
156- subject = described_class . new ( simplecov_module : simplecov_module , &start_config_block )
156+ subject = described_class . new ( simplecov_module :, &start_config_block )
157157 allow ( simplecov_module ) . to receive ( :at_exit )
158158 expect ( simplecov_module ) . to receive ( :start ) do |&block |
159159 expect ( block . binding . receiver ) . to eq ( start_config_block . binding . receiver )
You can’t perform that action at this time.
0 commit comments