test/cli/commands/test_deploy.rb in nanoc-3.5.0 vs test/cli/commands/test_deploy.rb in nanoc-3.6.0

- old
+ new

@@ -5,11 +5,11 @@ include Nanoc::TestHelpers def test_deploy if_have 'systemu' do with_site do |site| - File.open('config.yaml', 'w') do |io| + File.open('nanoc.yaml', 'w') do |io| io.write "deploy:\n" io.write " public:\n" io.write " kind: rsync\n" io.write " dst: mydestination" end @@ -26,11 +26,11 @@ end def test_deploy_with_dry_run if_have 'systemu' do with_site do |site| - File.open('config.yaml', 'w') do |io| + File.open('nanoc.yaml', 'w') do |io| io.write "deploy:\n" io.write " public:\n" io.write " kind: rsync\n" io.write " dst: mydestination" end @@ -47,11 +47,11 @@ end def test_deploy_with_list if_have 'systemu' do with_site do |site| - File.open('config.yaml', 'w') do |io| + File.open('nanoc.yaml', 'w') do |io| io.write "deploy:\n" io.write " public:\n" io.write " kind: rsync\n" io.write " dst: mydestination" end @@ -72,11 +72,11 @@ end def test_deploy_without_kind if_have 'systemu' do with_site do |site| - File.open('config.yaml', 'w') do |io| + File.open('nanoc.yaml', 'w') do |io| io.write "deploy:\n" io.write " public:\n" io.write " dst: mydestination" end @@ -96,11 +96,11 @@ end def test_deploy_without_target_without_default if_have 'systemu' do with_site do |site| - File.open('config.yaml', 'w') do |io| + File.open('nanoc.yaml', 'w') do |io| io.write "deploy:\n" io.write " public:\n" io.write " dst: mydestination" end @@ -118,10 +118,10 @@ end def test_deploy_without_target_with_default if_have 'systemu' do with_site do |site| - File.open('config.yaml', 'w') do |io| + File.open('nanoc.yaml', 'w') do |io| io.write "deploy:\n" io.write " default:\n" io.write " dst: mydestination" end