mirror of
https://github.com/drapergem/draper
synced 2023-03-27 23:21:17 -04:00
trailing whitespace
This commit is contained in:
parent
08718df5c4
commit
93191523ba
4 changed files with 14 additions and 15 deletions
|
@ -18,7 +18,7 @@ module Draper
|
||||||
def build_model_decorator
|
def build_model_decorator
|
||||||
template 'decorator.rb', "#{DECORATORS_ROOT}#{resource_name.singularize}_decorator.rb"
|
template 'decorator.rb', "#{DECORATORS_ROOT}#{resource_name.singularize}_decorator.rb"
|
||||||
end
|
end
|
||||||
#
|
|
||||||
def build_decorator_tests
|
def build_decorator_tests
|
||||||
case options["test-framework"]
|
case options["test-framework"]
|
||||||
when "rspec"
|
when "rspec"
|
||||||
|
|
|
@ -48,7 +48,6 @@ describe Draper::DecoratorGenerator do
|
||||||
it { should contain "class ProductDecoratorTest < ActiveSupport::TestCase" }
|
it { should contain "class ProductDecoratorTest < ActiveSupport::TestCase" }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue