From 00a1d70e8f7f1f47b5b1d3640632e9c4eab99ac0 Mon Sep 17 00:00:00 2001 From: ashmaroli Date: Tue, 25 Jul 2017 15:58:17 +0530 Subject: [PATCH] fix tests (#6240) Merge pull request 6240 --- test/test_new_command.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_new_command.rb b/test/test_new_command.rb index a02f1565..6a448eec 100644 --- a/test/test_new_command.rb +++ b/test/test_new_command.rb @@ -34,7 +34,7 @@ class TestNewCommand < JekyllUnitTest refute_exist @full_path capture_output { Jekyll::Commands::New.process(@args) } assert_exist gemfile - assert_match(%r!gem "jekyll", "#{Jekyll::VERSION}"!, File.read(gemfile)) + assert_match(%r!gem "jekyll", "~> #{Jekyll::VERSION}"!, File.read(gemfile)) assert_match(%r!gem "github-pages"!, File.read(gemfile)) end