test/page_test.rb in harmony-0.5.2 vs test/page_test.rb in harmony-0.5.3
- old
+ new
@@ -51,11 +51,11 @@
test "default window" do
assert_empty Page.new.document.title
end
- test "casting to string" do
- assert_equal "<html><head><title></title></head><body></body></html>", Page.new.to_s
+ test "cast to html" do
+ assert_equal "<html><head><title></title></head><body></body></html>", Page.new.to_html
end
test "loads javascript file" do
path = tempfile(<<-HTML)
function foo() { return 'bar' };