Browse files

Upgrade to rspec 2.6 and add bundler

  • Loading branch information...
1 parent bae2d9e commit 73e68b81a40f40ded007f6d433ccf1eb196a1146 @timcharper committed Sep 11, 2011
Showing with 30 additions and 2 deletions.
  1. +2 −0 Gemfile
  2. +24 −0 Gemfile.lock
  3. +2 −0 gitty.gemspec
  4. +2 −2 spec/spec_helper.rb
View
2 Gemfile
@@ -0,0 +1,2 @@
+source :rubygems
+gemspec
View
24 Gemfile.lock
@@ -0,0 +1,24 @@
+PATH
+ remote: .
+ specs:
+ gitty (0.4.5)
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ diff-lcs (1.1.3)
+ rspec (2.6.0)
+ rspec-core (~> 2.6.0)
+ rspec-expectations (~> 2.6.0)
+ rspec-mocks (~> 2.6.0)
+ rspec-core (2.6.4)
+ rspec-expectations (2.6.0)
+ diff-lcs (~> 1.1.2)
+ rspec-mocks (2.6.0)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ gitty!
+ rspec (~> 2.6)
View
2 gitty.gemspec
@@ -15,5 +15,7 @@ Gem::Specification.new do |s|
s.rubygems_version = "1.3.7"
s.summary = 'Unobtrusively extend git'
s.test_files = Dir['spec/**/*.rb']
+
+ s.add_development_dependency "rspec", "~> 2.6"
end
View
4 spec/spec_helper.rb
@@ -1,13 +1,13 @@
require File.dirname(__FILE__) + "/../lib/gitty"
require 'rubygems'
-require "spec"
+require "rspec"
SPEC_PATH = Pathname.new(File.dirname(__FILE__))
require SPEC_PATH + "../features/support/sandbox_world.rb"
require SPEC_PATH + "support/constants.rb"
require 'forwardable'
-Spec::Runner.configure do |config|
+RSpec.configure do |config|
extend Forwardable
def sandbox
@sandbox ||= SandboxWorld.new

0 comments on commit 73e68b8

Please sign in to comment.