Skip to content

Commit

Permalink
Fixing spec_helper
Browse files Browse the repository at this point in the history
  • Loading branch information
winton committed Jun 29, 2010
1 parent afb42f7 commit fbb392c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,9 @@ group :rake do
end

group :spec do
gem 'rspec', v[:rspec], :require => %w(
spec/adapters/mock_frameworks/rspec
spec/runner/formatter/progress_bar_formatter
spec/runner/formatter/text_mate_formatter
)
end
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ DEPENDENCIES
rake (= 0.8.7)
rspec (= 1.3.0)
rspec (= 1.3.0)
rspec (= 1.3.0)
4 changes: 4 additions & 0 deletions spec/gem_template_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
require 'spec_helper'

describe GemTemplate do
end
9 changes: 4 additions & 5 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@

Bundler.require(:spec)

require 'lib/gem_template'
require 'pp'

Spec::Runner.configure do |config|
end

SPEC = File.expand_path("#{Bundler.root}/spec")
$:.unshift File.expand_path("#{Bundler.root}/lib")
SPEC = File.dirname(__FILE__)

require "#{Bundler.root}/lib/gem_template"
require 'pp'

# For use with rspec textmate bundle
def debug(object)
Expand Down

0 comments on commit fbb392c

Please sign in to comment.