Fix spelling mistake in spec

This commit is contained in:
Pete Bevin 2012-12-01 12:49:18 -05:00
parent 6a84a94491
commit 465f16330a
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ describe Rails::Generators::DecoratorGenerator do
end
context 'parent decorator' do
describe 'decorator inhereted from Draper::Decorator' do
describe 'decorator inherited from Draper::Decorator' do
before { run_generator ["YourModel"] }
subject { file('app/decorators/your_model_decorator.rb') }
@ -38,7 +38,7 @@ describe Rails::Generators::DecoratorGenerator do
it { should contain "class YourModelDecorator < Draper::Decorator" }
end
describe "decorator inhereted from ApplicationDecorator if it's present" do
describe "decorator inherited from ApplicationDecorator if it's present" do
before do
class ApplicationDecorator; end
run_generator ["YourModel"]