Merge pull request #360 from pbevin/master

Fix a spelling mistake in decorator_generator_spec
This commit is contained in:
Vasiliy Ermolovich 2012-12-01 09:51:44 -08:00
commit 41ca1a3203
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"]