Sha256: d8e6bd173a3843bfd63b31812185289dde4db2d98c3475724121846309fd28a4

Contents?: true

Size: 408 Bytes

Versions: 20

Compression:

Stored size: 408 Bytes

Contents

require "webrat/core/matchers/have_selector"

module Webrat
  module HaveTagMatcher

    def have_tag(*args, &block)
      have_selector(*args, &block)
    end
    
    alias_method :match_tag, :have_tag
    
    def assert_have_tag(*args, &block)
      assert_have_selector(*args, &block)
    end
    
    def assert_have_no_tag(*args, &block)
      assert_have_no_selector(*args, &block)
    end

  end
end

Version data entries

20 entries across 20 versions & 8 rubygems

Version Path
diabolo-webrat-0.4.2 lib/webrat/core/matchers/have_tag.rb
hectoregm-webrat-0.4.2 lib/webrat/core/matchers/have_tag.rb
jferris-webrat-0.4.3.0.1238640835 lib/webrat/core/matchers/have_tag.rb
jferris-webrat-0.4.3 lib/webrat/core/matchers/have_tag.rb
jwilger-webrat-0.4.2.1 lib/webrat/core/matchers/have_tag.rb
jwilger-webrat-0.4.2.2 lib/webrat/core/matchers/have_tag.rb
jwilger-webrat-0.4.2.3 lib/webrat/core/matchers/have_tag.rb
jwilger-webrat-0.4.2.4 lib/webrat/core/matchers/have_tag.rb
jwilger-webrat-0.4.2.5 lib/webrat/core/matchers/have_tag.rb
jwilger-webrat-0.4.2 lib/webrat/core/matchers/have_tag.rb
jwilger-webrat-0.4.3.2 lib/webrat/core/matchers/have_tag.rb
jwilger-webrat-0.4.3.3 lib/webrat/core/matchers/have_tag.rb
jwilger-webrat-0.4.3.4 lib/webrat/core/matchers/have_tag.rb
mattwynne-cucover-0.1.0 examples/self_test/rails/vendor/gems/webrat-0.4.4/lib/webrat/core/matchers/have_tag.rb
mattwynne-cucover-0.1.1 examples/self_test/rails/vendor/gems/webrat-0.4.4/lib/webrat/core/matchers/have_tag.rb
mmurphy-webrat-0.4.4 lib/webrat/core/matchers/have_tag.rb
integrity-0.1.9 vendor/webrat/lib/webrat/core/matchers/have_tag.rb
webrat-0.4.2 lib/webrat/core/matchers/have_tag.rb
webrat-0.4.4 lib/webrat/core/matchers/have_tag.rb
webrat-0.4.3 lib/webrat/core/matchers/have_tag.rb