aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/template/atom_feed_helper_test.rb
diff options
context:
space:
mode:
authorTimm <kaspth@gmail.com>2013-07-22 22:25:54 +0200
committerTimm <kaspth@gmail.com>2014-06-15 23:40:59 +0200
commit240ce95a837590432b1a2a7fc56ebbe31fffc539 (patch)
tree36392d3ba44c423c026db021b38a16c76f36a7ad /actionview/test/template/atom_feed_helper_test.rb
parent9893a2896bbde50205e850b616ca0d4d196b924d (diff)
downloadrails-240ce95a837590432b1a2a7fc56ebbe31fffc539.tar.gz
rails-240ce95a837590432b1a2a7fc56ebbe31fffc539.tar.bz2
rails-240ce95a837590432b1a2a7fc56ebbe31fffc539.zip
Fixed Nokogiri::CSS::SyntaxErrors in test file.
Diffstat (limited to 'actionview/test/template/atom_feed_helper_test.rb')
-rw-r--r--actionview/test/template/atom_feed_helper_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionview/test/template/atom_feed_helper_test.rb b/actionview/test/template/atom_feed_helper_test.rb
index 63b5ac0fab..92f7081559 100644
--- a/actionview/test/template/atom_feed_helper_test.rb
+++ b/actionview/test/template/atom_feed_helper_test.rb
@@ -254,7 +254,7 @@ class AtomFeedTest < ActionController::TestCase
def test_self_url_should_default_to_current_request_url
with_restful_routing(:scrolls) do
get :index, :id => "defaults"
- assert_select "link[rel=self][href=http://www.nextangle.com/scrolls?id=defaults]"
+ assert_select "link[rel=self][href=\"http://www.nextangle.com/scrolls?id=defaults\"]"
end
end
@@ -326,14 +326,14 @@ class AtomFeedTest < ActionController::TestCase
def test_feed_entry_type_option_default_to_text_html
with_restful_routing(:scrolls) do
get :index, :id => 'defaults'
- assert_select "entry link[rel=alternate][type=text/html]"
+ assert_select "entry link[rel=alternate][type=\"text/html\"]"
end
end
def test_feed_entry_type_option_specified
with_restful_routing(:scrolls) do
get :index, :id => 'entry_type_options'
- assert_select "entry link[rel=alternate][type=text/xml]"
+ assert_select "entry link[rel=alternate][type=\"text/xml\"]"
end
end