Sha256: b545578041334a55f3965d21646d523fd54d49b25fe355e5f8a12b65682f27e4
Contents?: true
Size: 485 Bytes
Versions: 5
Compression:
Stored size: 485 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(%r{<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
5 entries across 5 versions & 1 rubygems