diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-08 16:28:27 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-08 16:28:27 +0200 |
commit | 5671b8189c98c38c3689d24cfbcce1beda1d8fe2 (patch) | |
tree | 2717ec02661bae266015a2198d6161db099ef7f4 /spec | |
download | skeletons-5671b8189c98c38c3689d24cfbcce1beda1d8fe2.zip skeletons-5671b8189c98c38c3689d24cfbcce1beda1d8fe2.tar.gz |
initial commit
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib_spec.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/spec/lib_spec.rb b/spec/lib_spec.rb new file mode 100644 index 0000000..4b79596 --- /dev/null +++ b/spec/lib_spec.rb @@ -0,0 +1,20 @@ +#! /usr/bin/env ruby +# -*- coding: UTF-8 -*- +# +require 'lib' +# +describe LIB do + # + it "should instanciate Test class" do + LIB::Test.new + end + # + it "should respond to hello" do + LIB::Test.new.respond_to?( :hello).should be_true + end + # + it "should respond to world to hello" do + LIB::Test.new.hello.should eql "world" + end + # +end |