summaryrefslogtreecommitdiffstats
path: root/test/app_test.rb
diff options
context:
space:
mode:
authorZack Hobson2013-11-21 12:02:47 -0800
committerZack Hobson2013-11-21 12:06:52 -0800
commit125133158e4d021526638789848b238ecd268f49 (patch)
tree404e2c6db5e8f85d09943e22ed3f2fd7908faf5b /test/app_test.rb
parent86ff02c8380fc50cfa7e0d4e6d0cfd7be56fb633 (diff)
downloadhcl-125133158e4d021526638789848b238ecd268f49.tar.bz2
Test and dev improvements
* removed dependency on shoulda * added bundler support for dev/testing * test coverage reporting * added some command tests
Diffstat (limited to 'test/app_test.rb')
-rw-r--r--test/app_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/app_test.rb b/test/app_test.rb
index ec13e46..0b4c90b 100644
--- a/test/app_test.rb
+++ b/test/app_test.rb
@@ -1,7 +1,7 @@
require 'test_helper'
class AppTest < Test::Unit::TestCase
- should "permit commands from the HCl::Commands module" do
+ def test_commands
app = HCl::App.new
assert HCl::Commands.instance_methods.all? { |c| app.command? c }, 'all methods are commands'
end