Skip to content

Commit

Permalink
Merge pull request #1821 from diowa/chore/fix-typo
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
tagliala authored Sep 28, 2024
2 parents 385a076 + ba0e147 commit 8ff7c1b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/initializers/devise.rb
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@
# ==> Hotwire/Turbo configuration
# When using Devise with Hotwire/Turbo, the http status for error responses
# and some redirects must match the following. The default in Devise for existing
# apps is `200 OK` and `302 Found respectively`, but new apps are generated with
# apps is `200 OK` and `302 Found` respectively, but new apps are generated with
# these new defaults that match Hotwire/Turbo behavior.
# Note: These might become the new default in future versions of Devise.
config.responder.error_status = :unprocessable_entity
Expand Down
2 changes: 1 addition & 1 deletion config/initializers/simple_form.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
# You can define the class to use on all labels. Default is nil.
# config.label_class = nil

# You can define the default class to be used on forms. Can be overriden
# You can define the default class to be used on forms. Can be overridden
# with `html: { :class }`. Defaulting to none.
# config.default_form_class = nil

Expand Down
4 changes: 2 additions & 2 deletions spec/system/itineraries_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
def login_as_male
male
login_via_auth0
# NOTE: without the below line, the first test will fail, like it didn't vist the authentication link
# NOTE: without the below line, the first test will fail, like it didn't visit the authentication link
expect(page).to have_current_path dashboard_path
end

def login_as_female
female
OmniAuth.config.mock_auth[:auth0] = OMNIAUTH_MOCKED_AUTHHASH.merge info: { name: 'Johanna Doe' }, extra: { raw_info: { gender: 'female' } }
login_via_auth0
# NOTE: without the below line, the first test will fail, like it didn't vist the authentication link
# NOTE: without the below line, the first test will fail, like it didn't visit the authentication link
expect(page).to have_current_path dashboard_path
ensure
OmniAuth.config.mock_auth[:auth0] = OMNIAUTH_MOCKED_AUTHHASH
Expand Down

0 comments on commit 8ff7c1b

Please sign in to comment.