Skip to content

Commit

Permalink
Merge pull request #3061 from lgalis/remove_tag_info_from_playbook_su…
Browse files Browse the repository at this point in the history
…mmary

Remove tag info from playbook summary
  • Loading branch information
mzazrivec authored Dec 18, 2017
2 parents 31d7a03 + a1147db commit 85aceb6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/ansible_playbook_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def self.model
private

def textual_group_list
[%i(properties relationships), %i(tags)]
[%i(properties relationships)]
end
helper_method :textual_group_list
end
5 changes: 5 additions & 0 deletions spec/controllers/ansible_playbook_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
it "renders correct template" do
is_expected.to render_template(:partial => "layouts/_textual_groups_generic")
end

it "does not display tags" do
get :show, :params => {:id => playbook.id}
expect(response.body).not_to include("Smart Management")
end
end

context "#show_list" do
Expand Down

0 comments on commit 85aceb6

Please sign in to comment.