Sha256: 958647da760a71ea0b68c2a6cd2016294dc37265c7cc5429e1463d0b123dd114

Contents?: true

Size: 303 Bytes

Versions: 3

Compression:

Stored size: 303 Bytes

Contents

require 'spec_helper'

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
    view.should_receive( :status_table ).with( @checkers )
    render
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
status_cat-0.1.0 spec/views/status_cat/status_mailer/failure.html.erb_spec.rb
status_cat-0.0.9 spec/views/status_cat/status_mailer/failure.html.erb_spec.rb
status_cat-0.0.8 spec/views/status_cat/status_mailer/failure.html.erb_spec.rb