Sha256: f97a3e3e03e97a08fd7c8c60f119e8404ca1ccc1fe1f565a1a233175984d658a

Contents?: true

Size: 397 Bytes

Versions: 4

Compression:

Stored size: 397 Bytes

Contents

describe 'report_cat/reports/show.html.erb' do

  include SetupReports

  before( :each ) do
    setup_reports
    allow( view ).to receive( :report_path ).and_return( '/report_cat/reports/foo' )
    allow( view ).to receive( :reports_path ).and_return( '/report_cat' )
  end

  it 'renders without exception' do
    assign( :reports, @reports )
    assign( :report, @report )
    render
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
report_cat-5.0.3 spec/views/report_cat/reports/show.html.erb_spec.rb
report_cat-5.0.2 spec/views/report_cat/reports/show.html.erb_spec.rb
report_cat-5.0.1 spec/views/report_cat/reports/show.html.erb_spec.rb
report_cat-5.0.0 spec/views/report_cat/reports/show.html.erb_spec.rb