Skip to content

Commit

Permalink
[webui] Update patchinfo controller test per request during review
Browse files Browse the repository at this point in the history
  • Loading branch information
bgeuken committed Sep 9, 2015
1 parent 99be5f2 commit ac71317
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/api/test/functional/webui/patchinfo_create_test.rb
Expand Up @@ -12,7 +12,6 @@ class Webui::PatchinfoCreateTest < Webui::IntegrationTest
end

teardown do
login_Iggy
delete_patchinfo('home:Iggy')
end

Expand Down Expand Up @@ -75,6 +74,9 @@ def test_accessability
# check that the patchinfo is not editable per direct url for unauthorized users
visit patchinfo_edit_patchinfo_path(project: "home:Iggy", package: "patchinfo")
page.must_have_text('Please Log In')
ensure
# We need to make sure that we are logged in during teardown
login_Iggy
end

def test_create_patchinfo_with_desc_and_sum
Expand Down

0 comments on commit ac71317

Please sign in to comment.