annotate test/models/tweet_test.rb @ 211:e07f6ea17deb

Less xhtml more escaping It looks like some older tweets aren't quite escaped properly for xhtml. Example (assuming not deleted): https://twitter.com/aaaa/status/169688458900668416
author nanaya <me@nanaya.pro>
date Fri, 11 Dec 2020 03:31:25 +0900
parents 157f7fd136fc
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19
157f7fd136fc Double quotes everywhere.
edogawaconan <me@myconan.net>
parents: 15
diff changeset
1 require "test_helper"
15
207917e41964 Add tweets~
edogawaconan <me@myconan.net>
parents:
diff changeset
2
207917e41964 Add tweets~
edogawaconan <me@myconan.net>
parents:
diff changeset
3 class TweetTest < ActiveSupport::TestCase
207917e41964 Add tweets~
edogawaconan <me@myconan.net>
parents:
diff changeset
4 test "loads a tweet" do
207917e41964 Add tweets~
edogawaconan <me@myconan.net>
parents:
diff changeset
5 assert_not_nil Tweet.new("edogawa_test")
207917e41964 Add tweets~
edogawaconan <me@myconan.net>
parents:
diff changeset
6 end
207917e41964 Add tweets~
edogawaconan <me@myconan.net>
parents:
diff changeset
7 end