mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-18 11:32:24 -05:00
12 lines
306 B
Ruby
12 lines
306 B
Ruby
|
require "spec_helper"
|
||
|
|
||
|
describe "users/omniauth_callbacks/failure.html.erb" do
|
||
|
|
||
|
it "renders the failure page" do
|
||
|
flash[:error] = I18n.t("login.omniauth_error", strategy: 'test')
|
||
|
render
|
||
|
|
||
|
rendered.match(I18n.t("login.omniauth_error", strategy: 'test')).should be_true
|
||
|
end
|
||
|
|
||
|
end
|