From 9cb4d3e03b02576e9f2381879e0818364a84b76e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Mon, 18 Aug 2014 20:20:41 -0300 Subject: Deprecate TagAssertion instead of removing --- actionpack/CHANGELOG.md | 2 +- actionpack/lib/action_dispatch/testing/assertions/tag.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 actionpack/lib/action_dispatch/testing/assertions/tag.rb (limited to 'actionpack') diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index ddacbe2aa2..1c84bac3ff 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -1,4 +1,4 @@ -* Deleted the deprecated TagAssertions. +* Deprecated TagAssertions. *Kasper Timm Hansen* diff --git a/actionpack/lib/action_dispatch/testing/assertions/tag.rb b/actionpack/lib/action_dispatch/testing/assertions/tag.rb new file mode 100644 index 0000000000..fcfc9316c1 --- /dev/null +++ b/actionpack/lib/action_dispatch/testing/assertions/tag.rb @@ -0,0 +1 @@ +ActiveSupport::Deprecation.warn("ActionDispatch::Assertions::TagAssertions has been has been extracted to the rails-dom-testing gem.") -- cgit v1.2.3