lib/gmail_test/assertions/base.rb in gmail_test-0.0.5 vs lib/gmail_test/assertions/base.rb in gmail_test-0.0.6

- old
+ new

@@ -1,9 +1,9 @@ module Assertions module Base - def assert_appears(selector,&block) - assert has_no_css?(selector) - block.call - wait_until{ has_css?(selector) } - end + def assert_appears(selector,options={},&block) + assert has_no_css?(selector, options) + block.call + wait_until{ has_css?(selector, options) } + end end end