Sha256: e669d9f514c2f11897a459a958ed6c285f74ff387cb86aa1d25e5855720a554f

Contents?: true

Size: 273 Bytes

Versions: 5

Compression:

Stored size: 273 Bytes

Contents

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
status_cat-5.2.1 spec/views/status_cat/status_mailer/failure.html.erb_spec.rb
status_cat-5.2.0 spec/views/status_cat/status_mailer/failure.html.erb_spec.rb
status_cat-5.0.2 spec/views/status_cat/status_mailer/failure.html.erb_spec.rb
status_cat-5.0.1 spec/views/status_cat/status_mailer/failure.html.erb_spec.rb
status_cat-5.0.0 spec/views/status_cat/status_mailer/failure.html.erb_spec.rb