Skip to content

Commit

Permalink
Specs for the display of summary tags for the ansible playbook services
Browse files Browse the repository at this point in the history
  • Loading branch information
lgalis committed May 8, 2017
1 parent 2680f53 commit 3334119
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions spec/controllers/service_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,17 @@
end
end

render_views

context "#show" do
it 'contains the associated tags for the ansible service template' do
EvmSpecHelper.local_miq_server
record = FactoryGirl.create(:service_ansible_playbook)
get :explorer, :params => { :id => "s-#{record.id}" }
expect(response.status).to eq(200)
expect(response.body).to include('Smart Management')
end
end

it_behaves_like "explorer controller with custom buttons"
end

0 comments on commit 3334119

Please sign in to comment.