Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 7af8d0f63709cfc75de498b3c98b38452e31603d 1 parent 9c898d3
@adelcambre adelcambre authored
Showing with 12 additions and 4 deletions.
  1. +8 −0 Gemfile
  2. +4 −4 spec/spec_helper.rb
View
8 Gemfile
@@ -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
8 spec/spec_helper.rb
@@ -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|
Please sign in to comment.
Something went wrong with that request. Please try again.