From 610b42456634c6194d219878f977c4c7e4c7cae3 Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Thu, 18 Jun 2015 15:18:23 +0100 Subject: Use :platform to add rack-utf8_sanitizer Unfortunately, the conditional used in 090531bf2d2b763e5bb281658e91b58905912130 results in `Gemfile.lock` being inconsistent with `Gemfile` under ruby 1.8.7 so we can't use it until after Alaveteli release 0.22, which is the last release that will support ruby 1.8.7. --- spec/integration/parameter_stripping_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/integration/parameter_stripping_spec.rb') diff --git a/spec/integration/parameter_stripping_spec.rb b/spec/integration/parameter_stripping_spec.rb index b910062a9..7e3c0adc2 100644 --- a/spec/integration/parameter_stripping_spec.rb +++ b/spec/integration/parameter_stripping_spec.rb @@ -3,7 +3,7 @@ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe "When handling bad requests" do - if RUBY_VERSION.to_f >= 1.9 + if RUBY_VERSION == '1.9.3' it 'should return a 404 for GET requests to a malformed request URL' do get 'request/228%85' -- cgit v1.2.3