summaryrefslogtreecommitdiffstats
path: root/spec/lib_spec.rb
blob: 4b7959609840a0e46307ff64bc9e8fbcf09d7336 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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