From ba8573c420c01a3c7e33ea2338d9158aa4f84b08 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Fri, 8 Jul 2016 15:48:14 +0200 Subject: [PATCH] Change baseurl to example.com for some test cases --- test/test_configuration.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test_configuration.rb b/test/test_configuration.rb index dd05a9e7..dd4d4d40 100644 --- a/test/test_configuration.rb +++ b/test/test_configuration.rb @@ -327,10 +327,10 @@ class TestConfiguration < JekyllUnitTest allow(SafeYAML) .to receive(:load_file) .with(@paths[:other]) - .and_return({ "baseurl" => "http://wahoo.dev" }) + .and_return({ "baseurl" => "http://example.com" }) allow($stdout).to receive(:puts).with("Configuration file: #{@paths[:other]}") assert_equal \ - site_configuration({ "baseurl" => "http://wahoo.dev" }), + site_configuration({ "baseurl" => "http://example.com" }), Jekyll.configuration(test_config.merge({ "config" => @paths[:other] })) end @@ -378,7 +378,7 @@ class TestConfiguration < JekyllUnitTest allow(SafeYAML) .to receive(:load_file) .with(@paths[:other]) - .and_return({ "baseurl" => "http://wahoo.dev" }) + .and_return({ "baseurl" => "http://example.com" }) allow($stdout) .to receive(:puts) .with("Configuration file: #{@paths[:default]}") @@ -386,7 +386,7 @@ class TestConfiguration < JekyllUnitTest .to receive(:puts) .with("Configuration file: #{@paths[:other]}") assert_equal \ - site_configuration({ "baseurl" => "http://wahoo.dev" }), + site_configuration({ "baseurl" => "http://example.com" }), Jekyll.configuration( test_config.merge({ "config" => [@paths[:default], @paths[:other]] }) )