Fix test for new command's output.
This commit is contained in:
parent
4c55c77c04
commit
ba8783190b
|
@ -31,7 +31,7 @@ class TestNewCommand < Test::Unit::TestCase
|
||||||
|
|
||||||
should 'display a success message' do
|
should 'display a success message' do
|
||||||
output = capture_stdout { Jekyll::Commands::New.process(@args) }
|
output = capture_stdout { Jekyll::Commands::New.process(@args) }
|
||||||
success_message = "New jekyll site installed in #{@full_path}.\n"
|
success_message = "New jekyll site installed in #{@full_path}. \n"
|
||||||
assert_equal success_message, output
|
assert_equal success_message, output
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue