summaryrefslogtreecommitdiffstats
path: root/ruby-gem/spec/lib_spec.rb
blob: 2ae8b711bd06302446e60969c3b85dc6df7ffd21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#! /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 say" do
        LIB::Test.new.respond_to?(:say).should be_true
    end
    #
    it "say should return hello world" do
        LIB::Test.new.say.should eql "hello world"
    end
    #
end
#
# EOF