clemens (owner)

Revisions

gist: 61312 Download_button fork
public
Public Clone URL: git://gist.github.com/61312.git
Embed All Files: show embed
Ruby #
1
2
3
4
5
6
7
8
9
10
  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