Sha256: 5cb110bcef791a9edc4161290d92fd3e520c02f0aaee8fa80de7eafd7124229e
Contents?: true
Size: 509 Bytes
Versions: 1
Compression:
Stored size: 509 Bytes
Contents
describe 'status_cat/status/index.html.erb' do before( :each ) do @checkers = StatusCat::Status.all assign( :checkers, @checkers ) end it 'includes an h1 tag' do render expect( rendered ).to match( /<h1>#{t( :h1, :scope => :status_cat )}<\/h1>/ ) end it 'uses the status_title helper' do expect( view ).to receive( :status_title ) render end it 'uses the status_table helper' do expect( view ).to receive( :status_table ).with( @checkers ) render end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
status_cat-0.1.1 | spec/views/status_cat/status/index.html.erb_spec.rb |