Skip to content

Commit

Permalink
Requiring rspec and rack-test to the test environment.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollina committed Feb 4, 2011
1 parent 8dd4e6a commit 642119e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 5 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -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
3 changes: 2 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
require 'rubygems'
require 'bundler/setup'
require 'bundler'
Bundler.setup(:default, :test)
require 'sinatra'
require 'rspec'
require 'rack/test'
Expand Down

0 comments on commit 642119e

Please sign in to comment.