Skip to content

Commit

Permalink
Merge pull request #1293 from h-kataria/instances_compare_button_fix
Browse files Browse the repository at this point in the history
Removed incorrect class from compare button.
  • Loading branch information
Dan Clarizio committed May 5, 2017
2 parents e3eb865 + fece7ed commit 244b8b4
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 244b8b4

Please sign in to comment.