summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/lib_spec.rb20
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