Commit 9d637d576cbac348b6e6e0bee1b98f184f4e2a26

Authored by Dmitriy Zaporozhets
1 parent 8686d09d

Fix tests

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
spec/features/issues_spec.rb
... ... @@ -183,7 +183,7 @@ describe "Issues" do
183 183 it 'with dropdown menu' do
184 184 visit project_issue_path(project, issue)
185 185  
186   - find('.edit-issue.inline-update').select(project.team.members.first.name, from: 'issue_assignee_id')
  186 + find('.edit-issue.inline-update #issue_assignee_id').set project.team.members.first.id
187 187 click_button 'Update Issue'
188 188  
189 189 page.should have_content "currently assigned to"
... ... @@ -258,4 +258,4 @@ describe "Issues" do
258 258 def last_issue
259 259 all("ul.issues-list li").last.text
260 260 end
261 261 -end
  262 +end
262 263 \ No newline at end of file
... ...