class CheckExternalCss
Public Instance Methods
test_all()
click to toggle source
# File vendor/qwik/lib/qwik/check-act-theme.rb, line 12 def test_all return if $0 != __FILE__ # Only for separated test. # test_extcss_nosuch res = session '/.css/http://nosuchhostname/q.css' ok_title 'Access Failed' # test_extcss_hatena res = session '/.css/http://d.hatena.ne.jp/theme/clover/clover.css' if @res.body.is_a?(Array) ok_title 'Access Failed' else #eq true, 1000 < @res.body.length end end