features/step_definitions/rails_steps.rb in figaro-0.5.3 vs features/step_definitions/rails_steps.rb in figaro-0.5.4
- old
+ new
@@ -1,5 +1,12 @@
Given "a new Rails app" do
- in_current_dir{ FileUtils.rm_rf("example") }
- run_simple("bundle exec rails new example --skip-bundle --skip-active-record --skip-sprockets --skip-javascript --skip-test-unit")
+ in_current_dir { FileUtils.rm_rf("example") }
+ run_simple(<<-CMD)
+ bundle exec rails new example \
+ --skip-bundle \
+ --skip-active-record \
+ --skip-sprockets \
+ --skip-javascript \
+ --skip-test-unit
+ CMD
cd("example")
end