test/cli/commands/test_create_site.rb in nanoc-3.3.7 vs test/cli/commands/test_create_site.rb in nanoc-3.4.0
- old
+ new
@@ -4,10 +4,10 @@
include Nanoc::TestHelpers
def test_create_site_with_existing_name
Nanoc::CLI.run %w( create_site foo )
- assert_raises(SystemExit) do
+ assert_raises(::Nanoc::Errors::GenericTrivial) do
Nanoc::CLI.run %w( create_site foo )
end
end
def test_can_compile_new_site