mirror of
https://github.com/discourse/discourse.git
synced 2026-08-11 13:35:20 -05:00
Add rubocop to our build. (#5004)
This commit is contained in:
@@ -39,5 +39,3 @@ describe "users/omniauth_callbacks/complete.html.erb" do
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
||||
|
||||
@@ -2,11 +2,11 @@ require "rails_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
|
||||
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
|
||||
expect(rendered.match(I18n.t("login.omniauth_error", strategy: 'test'))).not_to eq(nil)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user