diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-06-14 01:30:09 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-06-14 01:37:30 +0300 |
commit | 37066267e75cbd10bad3046c61efdfd82bf6338b (patch) | |
tree | b082803c01148a49f33dfa9aa2546a4c3272c3cf /spec/features/issues_spec.rb | |
parent | 422236c71eb8f1c88e83331b6eb74211fd7ccf49 (diff) |
Use `page.all` and `page.within` in specs
Diffstat (limited to 'spec/features/issues_spec.rb')
-rw-r--r-- | spec/features/issues_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/issues_spec.rb b/spec/features/issues_spec.rb index 66d73b2505c..d803a1805de 100644 --- a/spec/features/issues_spec.rb +++ b/spec/features/issues_spec.rb @@ -311,10 +311,10 @@ describe 'Issues', feature: true do end def first_issue - all('ul.issues-list li').first.text + page.all('ul.issues-list li').first.text end def last_issue - all('ul.issues-list li').last.text + page.all('ul.issues-list li').last.text end end |