summaryrefslogtreecommitdiff
path: root/spec/features/issues_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/issues_spec.rb')
-rw-r--r--spec/features/issues_spec.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/features/issues_spec.rb b/spec/features/issues_spec.rb
index f0daf081018..26607b0090c 100644
--- a/spec/features/issues_spec.rb
+++ b/spec/features/issues_spec.rb
@@ -59,9 +59,9 @@ describe "Issues", feature: true do
page.should have_content "Assign to #{@user.name}"
- page.first('#s2id_issue_assignee_id').click
+ first('#s2id_issue_assignee_id').click
sleep 2 # wait for ajax stuff to complete
- page.first('.user-result').click
+ first('.user-result').click
click_button "Save changes"
@@ -212,7 +212,7 @@ describe "Issues", feature: true do
click_button 'Update Issue'
page.should have_content "Assignee:"
- page.has_select?('issue_assignee_id', :selected => project.team.members.first.name)
+ has_select?('issue_assignee_id', :selected => project.team.members.first.name)
end
end
@@ -249,7 +249,7 @@ describe "Issues", feature: true do
click_button 'Update Issue'
page.should have_content "Milestone changed to #{milestone.title}"
- page.has_select?('issue_assignee_id', :selected => milestone.title)
+ has_select?('issue_assignee_id', :selected => milestone.title)
end
end
@@ -283,9 +283,9 @@ describe "Issues", feature: true do
visit project_issue_path(project, issue)
page.should have_content "Assignee: #{user2.name}"
- page.first('#s2id_issue_assignee_id').click
+ first('#s2id_issue_assignee_id').click
sleep 2 # wait for ajax stuff to complete
- page.first('.user-result').click
+ first('.user-result').click
page.should have_content "Assignee: Unassigned"
sleep 2 # wait for ajax stuff to complete