diff --git a/html-pipeline.gemspec b/html-pipeline.gemspec
index 0fd38289..154d209c 100644
--- a/html-pipeline.gemspec
+++ b/html-pipeline.gemspec
@@ -21,7 +21,7 @@ Gem::Specification.new do |gem|
gem.add_dependency "sanitize", RUBY_VERSION < "1.9.2" ? [">= 2", "< 2.0.4"] : "~> 2.0"
gem.add_dependency "rinku", "~> 1.7"
gem.add_dependency "escape_utils", "~> 0.3"
+ gem.add_dependency "activesupport", RUBY_VERSION < "1.9.3" ? [">= 2", "< 4"] : ">= 2"
- gem.add_development_dependency "activesupport", RUBY_VERSION < "1.9.3" ? [">= 2", "< 4"] : ">= 2"
gem.add_development_dependency "github-linguist", "~> 2.6.2"
end
diff --git a/test/test_helper.rb b/test/test_helper.rb
index bce1cb33..65e38906 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -2,6 +2,7 @@
require 'html/pipeline'
require 'test/unit'
+require 'active_support/core_ext/string'
require 'active_support/core_ext/object/try'
module TestHelpers
@@ -35,4 +36,4 @@ def assert_equal_html(expected, actual)
end
end
-Test::Unit::TestCase.send(:include, TestHelpers)
\ No newline at end of file
+Test::Unit::TestCase.send(:include, TestHelpers)