summaryrefslogtreecommitdiffstats
path: root/ruby-gem/spec/lib_spec.rb
blob: 49b88154f6a7faca465d5b90af7327a606a737e8 (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 'spec_helper'
#
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