Unverified Commit d0737b18 authored by Phil Hughes's avatar Phil Hughes
Browse files

spec fixes

parent fae328b1e4c5
......@@ -40,7 +40,7 @@
expect(current_path).to include('one/two/three-test')
expect(find('.wiki-pages')).to have_content('Three')
click_on('Three')
first(:link, text: 'Three').click
expect(find('.nav-text')).to have_content('Three')
......
......@@ -34,7 +34,7 @@
it 'shows the history of a page that has a path', :js do
expect(current_path).to include('one/two/three-test')
click_on('Three')
first(:link, text: 'Three').click
click_on('Page history')
expect(current_path).to include('one/two/three-test')
......@@ -48,7 +48,7 @@
expect(current_path).to include('one/two/three-test')
expect(find('.wiki-pages')).to have_content('Three')
click_on('Three')
first(:link, text: 'Three').click
expect(find('.nav-text')).to have_content('Three')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment