diff options
| author | Zack Hobson | 2009-08-23 20:36:42 -0700 |
|---|---|---|
| committer | Zack Hobson | 2009-08-23 20:36:42 -0700 |
| commit | d98c7b2dc30e088fe56cc26e4f7723c4c7b18d24 (patch) | |
| tree | f9b562bc187830657e6ac22be936f5af894cbba9 /test/app_test.rb | |
| parent | 0582befffbfffd65d14c295874c720fba8d08aca (diff) | |
| download | hcl-d98c7b2dc30e088fe56cc26e4f7723c4c7b18d24.tar.bz2 | |
Started a test suite.
Diffstat (limited to 'test/app_test.rb')
| -rw-r--r-- | test/app_test.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/app_test.rb b/test/app_test.rb new file mode 100644 index 0000000..1683b9c --- /dev/null +++ b/test/app_test.rb @@ -0,0 +1,8 @@ +require 'test_helper' +class AppTest < Test::Unit::TestCase + + should "permit commands from the HCl::Commands module" do + app = HCl::App.new + assert HCl::Commands.instance_methods.all? { |c| app.command? c } + end +end |
