mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-04 21:01:27 -05:00
b3d769ff4f
update rspec syntax to v3 change syntax to rspec v3 oops. fix typo mailers classes with rspec3 syntax helpers with rspec3 syntax jobs with rspec3 syntax serializers with rspec3 syntax views with rspec3 syntax support to rspec3 syntax category spec with rspec3 syntax
12 lines
315 B
Ruby
12 lines
315 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
|
|
|
|
expect(rendered.match(I18n.t("login.omniauth_error", strategy: 'test'))).not_to eq(nil)
|
|
end
|
|
|
|
end
|