Permalink
Browse files

Add another test for compound class support

  • Loading branch information...
semperos committed Jan 18, 2012
1 parent 52f06cc commit 61fc09454cf6a742dbcb87c427110af2c7329e5d
Showing with 2 additions and 0 deletions.
  1. +2 −0 test/clj_webdriver/test/core.clj
@@ -111,6 +111,8 @@
(text (nth (find-them dr {:tag :a}) 1))))
(is (= "Moustache"
(text (find-it dr {:class "external"}))))
+ (is (= "first odd"
+ (attribute (find-it dr {:class "first odd"}) :class)))
(is (= "first odd"
(attribute (find-it dr {:tag :li, :class "first odd"}) :class)))
(is (= "https://github.com/cgrand/moustache"

0 comments on commit 61fc094

Please sign in to comment.