Sha256: a6038b06e152677bdfbd4549121479eac4749da42aa1d7c16920499d8c3c20ac

Contents?: true

Size: 249 Bytes

Versions: 3

Compression:

Stored size: 249 Bytes

Contents

require 'utilities'
#
# Additional RSpec matchers specific to this framework go here.
#

# Is it the expected page?
RSpec::Matchers.define :be_page do |expected|
  match do |actual|
    actual.is_a?(expected) && page?(expected)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rutl-0.6.0 lib/rspec/rutl_matchers.rb
rutl-0.5.0 lib/rspec/rutl_matchers.rb
rutl-0.4.0 lib/rspec/rutl_matchers.rb