Skip to content

Commit

Permalink
Upgrade to rspec 2.6 and add bundler
Browse files Browse the repository at this point in the history
  • Loading branch information
timcharper committed Sep 11, 2011
1 parent bae2d9e commit 73e68b8
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Gemfile
@@ -0,0 +1,2 @@
source :rubygems
gemspec
24 changes: 24 additions & 0 deletions 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)
2 changes: 2 additions & 0 deletions gitty.gemspec
Expand Up @@ -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

4 changes: 2 additions & 2 deletions 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
Expand Down

0 comments on commit 73e68b8

Please sign in to comment.