Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add tests. lulz.

  • Loading branch information...
commit 5d3c6268f7bf67239ad7232e9c19b0cf9c5d16d0 1 parent b419c1e
@jm authored
Showing with 3 additions and 10 deletions.
  1. +1 −1  test/test_rails-upgrade.rb
  2. +2 −9 test/test_rails-upgrade_cli.rb
View
2  test/test_rails-upgrade.rb
@@ -6,6 +6,6 @@ def setup
end
def test_truth
- assert true
+ flunk("HAHAHA YEAH RIGHT.")
end
end
View
11 test/test_rails-upgrade_cli.rb
@@ -1,14 +1,7 @@
require File.join(File.dirname(__FILE__), "test_helper.rb")
require 'rails-upgrade/cli'
-class TestRailsUpgradeCli < Test::Unit::TestCase
- def setup
- RailsUpgrade::CLI.execute(@stdout_io = StringIO.new, [])
- @stdout_io.rewind
- @stdout = @stdout_io.read
- end
-
- def test_print_default_output
- assert_match(/To update this executable/, @stdout)
+class TestRailsUpgradeCli < Test::Unit::TestCase
+ def test_test
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.