Merge pull request #2929 from rusikf/patch-5
This commit is contained in:
		
						commit
						c789a93bc8
					
				|  | @ -76,6 +76,11 @@ class TestNewCommand < Test::Unit::TestCase | ||||||
|       capture_stdout { Jekyll::Commands::New.process(@args, '--blank') } |       capture_stdout { Jekyll::Commands::New.process(@args, '--blank') } | ||||||
|       assert_same_elements blank_contents, dir_contents(@full_path) |       assert_same_elements blank_contents, dir_contents(@full_path) | ||||||
|     end |     end | ||||||
|  | 
 | ||||||
|  |     should 'force created folder' do | ||||||
|  |       capture_stdout { Jekyll::Commands::New.process(@args) } | ||||||
|  |       assert_nothing_raised(SystemExit) { Jekyll::Commands::New.process(@args, '--force') } | ||||||
|  |     end   | ||||||
|   end |   end | ||||||
| 
 | 
 | ||||||
|   context 'when multiple args are given' do |   context 'when multiple args are given' do | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue