fixed auth partial spec

pull/1668/head
Markus Kahl 10 years ago
parent 6a6ebfb778
commit 8f0843f88e
  1. 4
      spec/views/settings/_authentication.html.erb_spec.rb

@ -36,7 +36,7 @@ describe 'settings/_authentication' do
end
it 'shows password settings' do
expect(rendered).to have_selector('legend', text: 'Forgot your password?')
expect(rendered).to have_text('Forgot your password?')
end
end
@ -47,7 +47,7 @@ describe 'settings/_authentication' do
end
it 'shows password settings' do
expect(rendered).not_to have_selector('legend', text: 'Forgot your password?')
expect(rendered).not_to have_text('Forgot your password?')
end
end
end

Loading…
Cancel
Save