src/spec/lib/%app_name%/command/base_spec.rb.tt in rgentpl-1.2.5 vs src/spec/lib/%app_name%/command/base_spec.rb.tt in rgentpl-1.2.6
- old
+ new
@@ -11,18 +11,18 @@
end
end
describe 'given a help option' do
it 'shows help info' do
- camelize = <% app_name.camelize %>
+ camelize = <%= app_name.camelize %>
expect { camelize::Command::Base.help(Thor::Base.shell.new) }.to \
output(/help/).to_stdout
end
end
describe 'given a version option' do
it 'shows version info' do
- camelize = <% app_name.camelize %>
+ camelize = <%= app_name.camelize %>
expect { camelize::Command::Base.start %w( version ) }.to \
output(/version/).to_stdout
end
end
end