Skip to content

Commit

Permalink
Merged in feature/remove_config/settings.local.yml_file (pull request #…
Browse files Browse the repository at this point in the history
…30)

KBP-172 #time 1h - remove config/settings.local.yml file

Approved-by: İsmail Akbudak <[email protected]>
  • Loading branch information
Fadime Özhan authored and İsmail Akbudak committed Dec 4, 2017
2 parents edcbf38 + b986d82 commit 0228f4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/cybele/app_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ def generate_config
generate 'config:install'
run 'cp config/settings/development.yml config/settings/staging.yml'
append_file('config/settings.yml', template_content('settings.yml.erb'))
remove_file 'config/settings.local.yml', force: true
end

def generate_rollbar
Expand Down
1 change: 1 addition & 0 deletions spec/support/config_test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ module ConfigTestHelper
def config_test
gemfile_file = content('Gemfile')
expect(gemfile_file).to match(/^gem 'config'/)
expect(File).not_to exist(file_project_path('config/settings.local.yml'))

config_development_file_test
config_staging_file_test
Expand Down

0 comments on commit 0228f4c

Please sign in to comment.