test class name fix

This commit is contained in:
Leo Horie 2014-07-04 22:51:49 -04:00
parent dd9d9c1da8
commit 9554995a1d

View file

@ -23,6 +23,8 @@ function testMithril(mock) {
test(function() {return m("div", [{foo: "bar"}])}) //as long as it doesn't throw errors, it's fine
test(function() {return m("svg", [m("g")])})
test(function() {return m("svg", [m("a[href='http://google.com']")])})
test(function() {return m(".foo", {class: "bar"}).attrs.class == "foo bar"})
test(function() {return m(".foo", {className: "bar"}).attrs.className == "foo bar"})
//m.module
test(function() {