Permalink
Browse files

Add supporting test for new compound-class-name-finding support

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

0 comments on commit d6bd847

Please sign in to comment.