Skip to content
Snippets Groups Projects
Commit c5890296 authored by Ciro Santilli's avatar Ciro Santilli
Browse files

Fix failing spec.

parent 714f7201
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -226,7 +226,7 @@ describe "Issues", feature: true do
issue.save
end
 
it 'shows assignee text' do
it "shows assignee text", js: true do
logout
login_with guest
 
Loading
Loading
@@ -262,7 +262,7 @@ describe "Issues", feature: true do
issue.save
end
 
it 'shows milestone text' do
it "shows milestone text", js: true do
logout
login_with guest
 
Loading
Loading
Loading
Loading
@@ -19,7 +19,8 @@ module LoginHelpers
Thread.current[:current_user] = user
end
 
# Requires Javascript driver.
def logout
page.find(:css, ".icon-signout").click rescue nil
page.find(:css, ".icon-signout").click
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment