diff --git a/app/controllers/ansible_playbook_controller.rb b/app/controllers/ansible_playbook_controller.rb index cba35fde864..08aa63d7b95 100644 --- a/app/controllers/ansible_playbook_controller.rb +++ b/app/controllers/ansible_playbook_controller.rb @@ -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 diff --git a/spec/controllers/ansible_playbook_controller_spec.rb b/spec/controllers/ansible_playbook_controller_spec.rb index 7966d6b09b1..61a577ad8a8 100644 --- a/spec/controllers/ansible_playbook_controller_spec.rb +++ b/spec/controllers/ansible_playbook_controller_spec.rb @@ -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