parent
66c39d3bf9
commit
00a1d70e8f
|
|
@ -34,7 +34,7 @@ class TestNewCommand < JekyllUnitTest
|
||||||
refute_exist @full_path
|
refute_exist @full_path
|
||||||
capture_output { Jekyll::Commands::New.process(@args) }
|
capture_output { Jekyll::Commands::New.process(@args) }
|
||||||
assert_exist gemfile
|
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))
|
assert_match(%r!gem "github-pages"!, File.read(gemfile))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue