Skip to content

Commit

Permalink
add: renders show from CI -> Reports -> Reports -> Any Report
Browse files Browse the repository at this point in the history
  • Loading branch information
lpichler committed Jul 5, 2017
1 parent 38357cf commit b1d5237
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/controllers/miq_report_controller/trees_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@
expect(controller.instance_variable_get(:@report_result)).to be_nil
expect(response).to render_template('shared/_report_chart_and_html')
end

it 'renders show from CI -> Reports -> Reports -> Any Report' do
post :tree_select, :params => { :id => "xx-11_xx-11-0_rep-145_rr-#{report_result.id}", :format => :js, :accord => 'savedreports' }
expect(controller.instance_variable_get(:@report_result)).to be_nil
expect(response).to render_template('shared/_report_chart_and_html')
end
end

context "reports tree" do
Expand Down

0 comments on commit b1d5237

Please sign in to comment.