summaryrefslogtreecommitdiffstats
path: root/ruby-gem/spec
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-09-23 08:35:35 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-09-23 08:35:35 +0200
commitbf8f95fdd25a68d02598c7be864bc97c05132c90 (patch)
treedfe5cc9752a13d3b6c3bd75e8af2896361abf7bc /ruby-gem/spec
parent4da50a4f3e30d70595807d7debe63f8bbf56bc64 (diff)
downloadskeletons-bf8f95fdd25a68d02598c7be864bc97c05132c90.zip
skeletons-bf8f95fdd25a68d02598c7be864bc97c05132c90.tar.gz
everything is packed into ruby-gems directory
Diffstat (limited to 'ruby-gem/spec')
-rw-r--r--ruby-gem/spec/lib_spec.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/ruby-gem/spec/lib_spec.rb b/ruby-gem/spec/lib_spec.rb
new file mode 100644
index 0000000..4b79596
--- /dev/null
+++ b/ruby-gem/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