test/test_gem.rb in nanoc-4.0.0b2 vs test/test_gem.rb in nanoc-4.0.0b3

- old
+ new

@@ -1,7 +1,5 @@ -# encoding: utf-8 - class Nanoc::GemTest < Nanoc::TestCase def setup super FileUtils.cd(@orig_wd) end @@ -20,12 +18,9 @@ # Check new files diff = files_after - files_before assert_equal 1, diff.size assert_match(/^nanoc-.*\.gem$/, diff.to_a[0]) - - # Check output - assert_match(/Successfully built RubyGem\s+Name: nanoc\s+Version: .*\s+File: nanoc-.*\.gem\s+/, stdout.string) ensure Dir['nanoc-*.gem'].each { |f| FileUtils.rm(f) } end end