Created
February 10, 2009 08:50
-
-
Save clemens/61312 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def has_authorized_tag(*args) | |
# @response.body.should have_authorized_tag(*args) | |
has_tag "span[class^=newsletter_stats]" do | |
has_tag *args | |
end | |
end | |
def have_authorized_tag(*args) | |
have_tag('.newsletter_stats') # { |tag| tag.should have_tag(*args) } | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment