Skip to content

Commit

Permalink
Slightly better
Browse files Browse the repository at this point in the history
  • Loading branch information
pikesley committed Feb 20, 2016
1 parent 4155a22 commit e00aced
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/requests/carbohydrate_intake_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
within ('//label[@for="carbohydrate_intake_description"]') do
expect(page).to_not have_xpath('.//input[@autofocus="autofocus"]')
end

expect(page).to have_xpath('.//input[@autofocus="autofocus"]', count: 1)
end
end
end

0 comments on commit e00aced

Please sign in to comment.