Skip to content

Commit

Permalink
Spec test
Browse files Browse the repository at this point in the history
https://bugzilla.redhat.com/show_bug.cgi?id=1386342
(cherry picked from commit bbd39e7edf76547d4e162ab47726f9c09669bb0f)
  • Loading branch information
bmclaughlin committed Jan 5, 2017
1 parent aa51122 commit e994e3f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions spec/helpers/application_helper/toolbar_builder_spec.rb
Expand Up @@ -314,6 +314,16 @@
end
end

context "when with instance_miq_request_new" do
it "and @lastaction = show, @display = instances" do
@id = "instance_miq_request_new"
@lastaction = "show"
@display = "instances"
stub_user(:features => :all)
expect(subject).to be_falsey
end
end

context "when with vm_console" do
before do
@id = "vm_console"
Expand Down

0 comments on commit e994e3f

Please sign in to comment.