Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed typo with misspell #3811

Merged
merged 1 commit into from
Dec 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/app/controllers/spree/api/checkouts_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def massaged_params
massaged_params
end

# Should be overriden if you have areas of your checkout that don't match
# Should be overridden if you have areas of your checkout that don't match
# up to a step within checkout_steps, such as a registration step
def skip_state_validation?
false
Expand Down
2 changes: 1 addition & 1 deletion api/lib/spree/api/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Engine < Rails::Engine
isolate_namespace Spree
engine_name 'spree_api'

# Leave initializer empty for backwards-compatability. Other apps
# Leave initializer empty for backwards-compatibility. Other apps
# might still rely on this event.
initializer "spree.api.environment", before: :load_config_initializers do; end
end
Expand Down
2 changes: 1 addition & 1 deletion api/lib/spree/api/testing_support/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def stub_authentication!
allow(Spree.user_class).to receive(:find_by).with(hash_including(:spree_api_key)) { current_api_user }
end

# This method can be overriden (with a let block) inside a context
# This method can be overridden (with a let block) inside a context
# For instance, if you wanted to have an admin user instead.
def current_api_user
@current_api_user ||= stub_model(Spree::LegacyUser, email: "[email protected]", spree_roles: [])
Expand Down