Permalink
Browse files

Add RSpec and create /spec

  • Loading branch information...
1 parent 8d5a01e commit 6aac7f6775e9db14c791a2e7bc6e5040ebcf3cfc @jeffkreeftmeijer jeffkreeftmeijer committed Nov 15, 2010
Showing with 34 additions and 0 deletions.
  1. +25 −0 Gemfile.lock
  2. +2 −0 fuubar.gemspec
  3. +4 −0 spec/fuubar_spec.rb
  4. +3 −0 spec/spec_helper.rb
View
@@ -0,0 +1,25 @@
+PATH
+ remote: .
+ specs:
+ fuubar (0.0.1)
+ rspec (~> 2.0)
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ diff-lcs (1.1.2)
+ rspec (2.1.0)
+ rspec-core (~> 2.1.0)
+ rspec-expectations (~> 2.1.0)
+ rspec-mocks (~> 2.1.0)
+ rspec-core (2.1.0)
+ rspec-expectations (2.1.0)
+ diff-lcs (~> 1.1.2)
+ rspec-mocks (2.1.0)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ fuubar!
+ rspec (~> 2.0)
View
@@ -18,4 +18,6 @@ Gem::Specification.new do |s|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
+
+ s.add_dependency('rspec', ["~> 2.0"])
end
View
@@ -0,0 +1,4 @@
+require 'spec_helper'
+
+describe Fuubar do
+end
View
@@ -0,0 +1,3 @@
+$LOAD_PATH.unshift(File.dirname(__FILE__))
+$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
+require 'fuubar'

0 comments on commit 6aac7f6

Please sign in to comment.