diff options
Diffstat (limited to 'ruby-gem/spec')
-rw-r--r-- | ruby-gem/spec/lib_spec.rb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ruby-gem/spec/lib_spec.rb b/ruby-gem/spec/lib_spec.rb index 4b79596..2ae8b71 100644 --- a/ruby-gem/spec/lib_spec.rb +++ b/ruby-gem/spec/lib_spec.rb @@ -9,12 +9,14 @@ describe LIB do LIB::Test.new end # - it "should respond to hello" do - LIB::Test.new.respond_to?( :hello).should be_true + it "should respond to say" do + LIB::Test.new.respond_to?(:say).should be_true end # - it "should respond to world to hello" do - LIB::Test.new.hello.should eql "world" + it "say should return hello world" do + LIB::Test.new.say.should eql "hello world" end # end +# +# EOF |