Permalink
Browse files

setting up rspec

  • Loading branch information...
1 parent 8aabab7 commit 8760425e141d16112c18903f24f41d63b92fb476 @steveklabnik committed Sep 1, 2010
Showing with 34 additions and 0 deletions.
  1. +5 −0 .gitignore
  2. +5 −0 Gemfile
  3. +10 −0 Gemfile.lock
  4. +2 −0 Rakefile
  5. +1 −0 lib/extra.rb
  6. +4 −0 lib/extra/extra.rb
  7. +7 −0 spec/extra_spec.rb
View
@@ -4,6 +4,7 @@
tmtags
*~
+<<<<<<< HEAD
\#*
.\#*
@@ -12,3 +13,7 @@ tmtags
coverage
rdoc
pkg
+=======
+.bundle/*
+*.swp
+>>>>>>> setting up rspec
View
@@ -0,0 +1,5 @@
+source "http://rubygems.org"
+
+group :test do
+ gem "rspec"
+end
View
@@ -0,0 +1,10 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ rspec (1.3.0)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ rspec
View
@@ -1,3 +1,4 @@
+<<<<<<< HEAD
require 'rubygems'
require 'rake'
@@ -43,3 +44,4 @@ Rake::RDocTask.new do |rdoc|
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
+
View
@@ -0,0 +1 @@
+require "extra/extra.rb"
View
@@ -0,0 +1,4 @@
+module Extra
+ class Extra
+ end
+end
View
@@ -0,0 +1,7 @@
+require_relative "../lib/extra.rb"
+
+describe Extra::Extra do
+ it "should exist" do
+ extra = Extra::Extra.new
+ end
+end

0 comments on commit 8760425

Please sign in to comment.