Permalink
Browse files

Fixing spec_helper

  • Loading branch information...
1 parent afb42f7 commit fbb392c6255715d38132591860aad181c10ed1f0 @winton committed Jun 29, 2010
Showing with 14 additions and 5 deletions.
  1. +5 −0 Gemfile
  2. +1 −0 Gemfile.lock
  3. +4 −0 spec/gem_template_spec.rb
  4. +4 −5 spec/spec_helper.rb
View
@@ -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
View
@@ -14,3 +14,4 @@ DEPENDENCIES
rake (= 0.8.7)
rspec (= 1.3.0)
rspec (= 1.3.0)
+ rspec (= 1.3.0)
@@ -0,0 +1,4 @@
+require 'spec_helper'
+
+describe GemTemplate do
+end
View
@@ -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)

0 comments on commit fbb392c

Please sign in to comment.