Skip to content

Commit

Permalink
Add missing specs
Browse files Browse the repository at this point in the history
  • Loading branch information
taitus committed Dec 20, 2017
1 parent a10fe0a commit b0c5bbb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions spec/features/users/sign_in_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,12 @@
expect(page).to have_content I18n.t 'devise.failure.invalid', authentication_keys: 'email'
end

scenario 'render link to register sede.electonica' do
visit admin_path

expect(page).to have_content "¿No tienes una cuenta?"
expect(page).to have_content "¿Olvidaste tu contraseña?"
expect(page).to have_link("Regístrate", href: "https://sede.madrid.es")
end

end

0 comments on commit b0c5bbb

Please sign in to comment.