diff --git a/test/unit/environment_test.rb b/test/unit/environment_test.rb index b6af27b..5442632 100644 --- a/test/unit/environment_test.rb +++ b/test/unit/environment_test.rb @@ -1063,7 +1063,7 @@ class EnvironmentTest < ActiveSupport::TestCase end should 'have a list of trusted sites by default' do - assert_equal ['developer.myspace.com', 'itheora.org', 'maps.google.com', 'platform.twitter.com', 'player.vimeo.com', 'stream.softwarelivre.org', 'tv.softwarelivre.org', 'www.facebook.com', 'www.flickr.com', 'www.gmodules.com', 'www.youtube.com', 'a.yimg.com', 'b.yimg.com', 'c.yimg.com', 'd.yimg.com', 'e.yimg.com', 'f.yimg.com', 'g.yimg.com', 'h.yimg.com', 'i.yimg.com', 'j.yimg.com', 'k.yimg.com', 'l.yimg.com', 'm.yimg.com', 'n.yimg.com', 'o.yimg.com', 'p.yimg.com', 'q.yimg.com', 'r.yimg.com', 's.yimg.com', 't.yimg.com', 'u.yimg.com', 'v.yimg.com', 'w.yimg.com', 'x.yimg.com', 'y.yimg.com', 'z.yimg.com'], Environment.new.trusted_sites_for_iframe + assert_equal [String], Environment.new.trusted_sites_for_iframe.map(&:class).uniq end should 'have a list of trusted sites' do -- libgit2 0.21.2