提交 c5890296 编写于 作者: C Ciro Santilli

Fix failing spec.

上级 714f7201
......@@ -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
......@@ -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
......
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册