Sha256: eaabeaa7211fc0fb1f0a4f4d62c025f7513980acad5fd9268a565ee3693a3e74

Contents?: true

Size: 397 Bytes

Versions: 79

Compression:

Stored size: 397 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

79 entries across 79 versions & 32 rubygems

Version Path
aslakhellesoy-webrat-0.4.4.1 lib/webrat/core/matchers/have_tag.rb
casebook-webrat-0.4.4.1 lib/webrat/core/matchers/have_tag.rb
cavalle-webrat-0.4.4.1 lib/webrat/core/matchers/have_tag.rb
cavalle-webrat-0.4.4.2 lib/webrat/core/matchers/have_tag.rb
davidtrogers-webrat-0.4.4.2 lib/webrat/core/matchers/have_tag.rb
dbrady-webrat-0.4.4.1 lib/webrat/core/matchers/have_tag.rb
dbrady-webrat-0.4.4.2 lib/webrat/core/matchers/have_tag.rb
dbrady-webrat-0.4.4 lib/webrat/core/matchers/have_tag.rb
diabolo-diabolo-webrat-0.4.4 lib/webrat/core/matchers/have_tag.rb
diabolo-webrat-0.4.3 lib/webrat/core/matchers/have_tag.rb
diabolo-webrat-0.4.4.1 lib/webrat/core/matchers/have_tag.rb
diabolo-webrat-0.4.4.2 lib/webrat/core/matchers/have_tag.rb
diabolo-webrat-0.4.4 lib/webrat/core/matchers/have_tag.rb
diabolo-webrat-0.5.1 lib/webrat/core/matchers/have_tag.rb
dstrelau-webrat-0.5.1 lib/webrat/core/matchers/have_tag.rb
emipair-webrat-0.0.1 lib/webrat/core/matchers/have_tag.rb
futuresinc-webrat-0.4.4.100 lib/webrat/core/matchers/have_tag.rb
futuresinc-webrat-0.4.4.99 lib/webrat/core/matchers/have_tag.rb
garnierjm-webrat-0.4.5 lib/webrat/core/matchers/have_tag.rb
hardbap-webrat-0.5.1 lib/webrat/core/matchers/have_tag.rb