Sha256: 17c2bf3bbb296374c6af78901fb4a3bf8f8141ad9982c9a598668f3151bc9c1c
Contents?: true
Size: 408 Bytes
Versions: 28
Compression:
Stored size: 408 Bytes
Contents
RSpec::Matchers.define :have_link_with_tooltip do |content| match do |session| session.has_css?(%([content="#{content}"] a)) end end # Here's a tiny custom matcher making it a bit easier to check the # current session for a language configuration. # RSpec::Matchers.define :include_language_information_for do |expected| match do |actual| actual[:alchemy_language_id] == expected.id end end
Version data entries
28 entries across 28 versions & 1 rubygems