Skip to content

Commit

Permalink
Removed incorrect class from compare button.
Browse files Browse the repository at this point in the history
Removed accidentally added incorrect class to Cloud Instance Compare button in sha ef3b49d
Fixed broken spec test

https://bugzilla.redhat.com/show_bug.cgi?id=1447971
  • Loading branch information
h-kataria committed May 5, 2017
1 parent 15443c6 commit fece7ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions app/helpers/application_helper/toolbar/vm_clouds_center.rb
Expand Up @@ -34,8 +34,7 @@ class ApplicationHelper::Toolbar::VmCloudsCenter < ApplicationHelper::Toolbar::B
N_('Compare Selected items'),
:url_parms => "main_div",
:enabled => false,
:onwhen => "2+",
:klass => ApplicationHelper::Button::InstanceCheckCompare),
:onwhen => "2+"),
separator,
button(
:instance_edit,
Expand Down
3 changes: 1 addition & 2 deletions spec/controllers/orchestration_stack_controller_spec.rb
Expand Up @@ -20,9 +20,8 @@
get :show, :params => {:id => record.id, :display => "instances"}
end

it 'does not render compliance check and comparison buttons' do
it 'does not render compliance check button' do
expect(response.body).not_to include('instance_check_compliance')
expect(response.body).not_to include('instance_compare')
end

it "renders the listnav" do
Expand Down

0 comments on commit fece7ed

Please sign in to comment.