rubygems_generators/executable/templates/test/test_cli.rb.erb in newgem-1.3.0 vs rubygems_generators/executable/templates/test/test_cli.rb.erb in newgem-1.4.0
- old
+ new
@@ -6,9 +6,9 @@
<%= module_name %>::CLI.execute(@stdout_io = StringIO.new, [])
@stdout_io.rewind
@stdout = @stdout_io.read
end
- def test_not_print_default_output
- assert_no_match(/To update this executable/, @stdout)
+ def test_print_default_output
+ assert_match(/To update this executable/, @stdout)
end
end
\ No newline at end of file