Permalink
Browse files

Add a Gemfile for running the specs and use it in the spec_helper

  • Loading branch information...
1 parent 9c898d3 commit 7af8d0f63709cfc75de498b3c98b38452e31603d Andy Delcambre committed Apr 3, 2010
Showing with 12 additions and 4 deletions.
  1. +8 −0 Gemfile
  2. +4 −4 spec/spec_helper.rb
View
@@ -0,0 +1,8 @@
+source :gemcutter
+
+gem "rspec"
+gem "rack"
+gem "actionpack", "3.0.0.beta2", :require => "action_controller"
+gem "ParseTree"
+gem "ruby2ruby"
+gem "rake"
View
@@ -1,10 +1,10 @@
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
-require 'rubygems'
-require 'rack'
-require 'action_controller'
+require 'bundler'
+Bundler.setup
+Bundler.require
+
require 'rails_action_args'
-require 'spec'
require File.expand_path(File.join(File.dirname(__FILE__), "controllers", "action_args_controller"))
Spec::Runner.configure do |config|

0 comments on commit 7af8d0f

Please sign in to comment.