aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorRick Olson <technoweenie@gmail.com>2008-01-02 19:24:44 +0000
committerRick Olson <technoweenie@gmail.com>2008-01-02 19:24:44 +0000
commit14f6440ed60a3e6bfa263cc30f10547ca52db64f (patch)
tree4868bc46466ba96f733972bf10749ce55a225c51 /actionpack
parent001fe6a435ad87fc353616663aaaeb307affd733 (diff)
downloadrails-14f6440ed60a3e6bfa263cc30f10547ca52db64f.tar.gz
rails-14f6440ed60a3e6bfa263cc30f10547ca52db64f.tar.bz2
rails-14f6440ed60a3e6bfa263cc30f10547ca52db64f.zip
Correct indentation in a couple spots. Closes #10671 [l.guidi, rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8527 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/CHANGELOG2
-rw-r--r--actionpack/test/controller/html-scanner/sanitizer_test.rb6
2 files changed, 5 insertions, 3 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG
index bb310d3792..d4668b175a 100644
--- a/actionpack/CHANGELOG
+++ b/actionpack/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* Correct indentation in tests. Closes #10671 [l.guidi]
+
* Fix that auto_link looks for ='s in url paths (Amazon urls have them). Closes #10640 [bgreenlee]
* Ensure that test case setup is run even if overridden. #10382 [Josh Peek]
diff --git a/actionpack/test/controller/html-scanner/sanitizer_test.rb b/actionpack/test/controller/html-scanner/sanitizer_test.rb
index a9f4e88742..fc39a2a0de 100644
--- a/actionpack/test/controller/html-scanner/sanitizer_test.rb
+++ b/actionpack/test/controller/html-scanner/sanitizer_test.rb
@@ -204,9 +204,9 @@ class SanitizerTest < Test::Unit::TestCase
end
def test_should_sanitize_with_trailing_space
- raw = "display:block; "
- expected = "display: block;"
- assert_equal expected, sanitize_css(raw)
+ raw = "display:block; "
+ expected = "display: block;"
+ assert_equal expected, sanitize_css(raw)
end
def test_should_sanitize_xul_style_attributes