Cleanup some Auth specs and weird haml syntax

This commit is contained in:
Michael Ball 2020-02-06 00:47:40 -08:00
parent cc9a759960
commit a72633e2d9
2 changed files with 11 additions and 9 deletions

View file

@ -7,8 +7,10 @@
title: "Your #{provider} login" do
%i{class: "fa fa-#{provider}"}
- else
= link_to("Snap!",
"user_#{provider}_omniauth_authorize".to_sym,
= link_to("user_#{provider}_omniauth_authorize".to_sym,
class: "btn btn-success btn-lg",
id: "omniauth-#{provider}",
title: "Your #{provider} login")
title: "Your #{provider} login") do
%span
Snap
%em> !