Skip to content

Commit

Permalink
Fix a couple typos
Browse files Browse the repository at this point in the history
  • Loading branch information
tfausak committed Jul 15, 2013
1 parent 27977b9 commit fa4a97e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

At first it seemed alright. A little business logic in a controller
or model wasn't going to hurt anything. Then one day you wake up
and you're surrounded by fat models and unweildy controllers. Curled
and you're surrounded by fat models and unwieldy controllers. Curled
up and crying in the corner, you can't help but wonder how it came
to this.

Expand Down
2 changes: 1 addition & 1 deletion lib/active_interaction/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def initialize(options = {})
end
end

# Runs the business logic associated with the interactor. The method is only
# Runs the business logic associated with the interaction. The method is only
# run when there are no validation errors. The return value is placed into
# {#result}. This method must be overridden in the subclass.
#
Expand Down
6 changes: 3 additions & 3 deletions spec/active_interaction/filters/model_filter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
before { options.merge!(class: TestModel) }

describe '.prepare(key, value, options = {}, &block)' do
shared_examples 'typechecking' do
shared_examples 'type checking' do
context 'with the right class' do
let(:value) { TestModel.new }

Expand All @@ -20,11 +20,11 @@
end

context 'with options[:class] as a Class' do
include_examples 'typechecking'
include_examples 'type checking'
end

context 'with options[:class] as a valid String' do
include_examples 'typechecking'
include_examples 'type checking'

before { options.merge!(class: options[:class].to_s) }
end
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require 'spec_helper'

describe 'ModelInteraciton' do
describe 'ModelInteraction' do
it_behaves_like 'an interaction', :model, -> { Proc.new {} }, class: Proc
end

0 comments on commit fa4a97e

Please sign in to comment.