mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 09:10:25 +08:00
Add rubocop to our build. (#5004)
This commit is contained in:
parent
ff4e295c4f
commit
5012d46cbd
871 changed files with 5480 additions and 6056 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue