Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
Signed-off-by: Gamaliel Amaudruz <gamaudruz@pivotal.io>
  • Loading branch information
nattsw authored and gamov committed Jan 13, 2017
1 parent d7373c7 commit 711aa34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/tasks/cloud_foundry_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
test_settings_file = "#{fixture_path}/cf/settings/multilevel_settings.yml"
test_manifest_file = "#{fixture_path}/cf/cf_manifest.yml"

FileUtils.mkdir(Rails.root.join('settings'))
FileUtils.cp(test_settings_file, Rails.root.join('settings','test.yml'))

settings_dir = Rails.root.join('settings')
settings_dir.mkpath
FileUtils.cp(test_settings_file, settings_dir.join('test.yml'))
FileUtils.cp(test_manifest_file, Rails.root.join('manifest.yml'))

Rake::Task['config:cf'].execute
Expand Down

0 comments on commit 711aa34

Please sign in to comment.