Permalink
Browse files

Fix to prevent some of cucumber's whining.

  • Loading branch information...
1 parent ac38f32 commit 8d3a53acaf72795e6336802e43a313d975a5d47a @jeady jeady committed Sep 22, 2012
Showing with 12 additions and 1 deletion.
  1. +1 −1 Gemfile
  2. +11 −0 config/initializers/rack_hotfix.rb
View
@@ -52,7 +52,7 @@ group :development, :test do
gem 'simplecov', :require => false
gem 'sqlite3'
gem 'cucumber'
- gem 'cucumber-rails'
+ gem 'cucumber-rails', :require => false
gem 'cucumber-rails-training-wheels'
gem 'database_cleaner'
gem 'capybara'
@@ -0,0 +1,11 @@
+# TODO: Can be removed after updating to rack 1.3.0
+module Rack
+ module Utils
+ def escape(s)
+ CGI.escape(s.to_s)
+ end
+ def unescape(s)
+ CGI.unescape(s)
+ end
+ end
+end

0 comments on commit 8d3a53a

Please sign in to comment.