Browse files

use rack-test

  • Loading branch information...
1 parent 320a2e9 commit 9a605afeaa0a7b4cb303c2a1e53792c595f4b1e4 @ajsharp ajsharp committed Jun 9, 2011
Showing with 11 additions and 1 deletion.
  1. +2 −1 Gemfile
  2. +6 −0 Gemfile.lock
  3. +3 −0 spec/spec_helper.rb
View
3 Gemfile
@@ -13,4 +13,5 @@ gem "growl"
gem "guard"
gem "guard-rspec"
-gem "rake", "= 0.8.7"
+gem "rake", "= 0.8.7"
+gem "rack-test"
View
6 Gemfile.lock
@@ -26,6 +26,8 @@ GEM
mongo (1.3.1)
bson (>= 1.3.1)
rack (1.3.0)
+ rack-test (0.5.7)
+ rack (>= 1.0)
rake (0.8.7)
rb-fsevent (0.4.0)
rspec (2.6.0)
@@ -58,10 +60,14 @@ PLATFORMS
DEPENDENCIES
aarrr!
+ activesupport (>= 3.0)
bson_ext
growl
guard
guard-rspec
+ mongo (>= 1.3.1)
+ rack (>= 1.2.2)
+ rack-test
rake (= 0.8.7)
rb-fsevent
rspec (>= 2.0)
View
3 spec/spec_helper.rb
@@ -1,5 +1,6 @@
require 'bundler/setup'
require 'aarrr'
+require 'rack/test'
RSpec.configure do |config|
@@ -15,6 +16,8 @@
AARRR.database.collections.select {|c| c.name !~ /system/ }.each(&:drop)
end
+ config.include(Rack::Test::Methods)
+
# add helper methods here
end

0 comments on commit 9a605af

Please sign in to comment.