Skip to content

Commit

Permalink
[ci] Fix tests on master that I broke
Browse files Browse the repository at this point in the history
This ensures that user Iggy is logged in during teardown phase. We ca
not garanty that this is the case in our tests, eg. test failures.

Commit that caused the test failures: ac71317
  • Loading branch information
bgeuken committed Sep 10, 2015
1 parent 4c90121 commit 6da545b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/api/test/functional/webui/patchinfo_create_test.rb
Expand Up @@ -12,6 +12,7 @@ class Webui::PatchinfoCreateTest < Webui::IntegrationTest
end

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

Expand Down Expand Up @@ -74,9 +75,6 @@ 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 6da545b

Please sign in to comment.