Permalink
Browse files

Requiring rspec and rack-test to the test environment.

  • Loading branch information...
1 parent 8dd4e6a commit 642119e59b06aa39c3cd23abe289ec237ed20ab1 @mcollina mcollina committed Feb 4, 2011
Showing with 7 additions and 3 deletions.
  1. +5 −2 Gemfile
  2. +2 −1 spec/spec_helper.rb
View
@@ -1,13 +1,16 @@
source :rubygems
gem 'sinatra', '>= 1.0'
gem 'rake'
-gem 'rspec', :require => 'spec'
gem 'data_mapper'
-gem 'rack-test'
gem 'dm-core'
gem 'dm-sqlite-adapter'
gem 'dm-timestamps'
gem 'dm-validations'
gem 'dm-aggregates'
gem 'dm-migrations'
gem 'haml'
+
+group :test do
+ gem 'rspec', :require => 'spec'
+ gem 'rack-test'
+end
View
@@ -1,5 +1,6 @@
require 'rubygems'
-require 'bundler/setup'
+require 'bundler'
+Bundler.setup(:default, :test)
require 'sinatra'
require 'rspec'
require 'rack/test'

0 comments on commit 642119e

Please sign in to comment.