describe 'status_cat/status_mailer/failure.html.erb' do before( :each ) do @checkers = StatusCat::Status.all assign( :checkers, @checkers ) end it 'uses the status_table helper' do expect( view ).to receive( :status_table ).with( @checkers ) render end end