Sha256: aa599a5ea8059db176a63c01a53943c26d916ec48ba79d01364c66f00fc97a63

Contents?: true

Size: 239 Bytes

Versions: 4

Compression:

Stored size: 239 Bytes

Contents

# encoding: utf-8

module Apotomo
  module AssertionsHelper
    def assert_selekt(content, *args)
      assert_select(HTML::Document.new(content).root, *args)
    end

    def assert_not(assertion)
      assert !assertion
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
apotomo-0.1.4 test/support/assertions_helper.rb
apotomo-0.1.3 test/support/assertions_helper.rb
apotomo-0.1.2 test/support/assertions_helper.rb
apotomo-0.1.1 test/support/assertions_helper.rb