Sha256: 2fc6ad2b1e6061f0233823da4ab6223feee41b4e06b6fbd6e2cbdac9fe5cbba2
Contents?: true
Size: 604 Bytes
Versions: 8
Compression:
Stored size: 604 Bytes
Contents
require 'rspec/expectations/version' # @!method a_path_matching_pattern(/pattern/) # This matchers checks if <path> matches pattern. `pattern` can be a string, # regexp or an RSpec matcher. # # @param [String, Regexp, Matcher] pattern # Specifies the pattern # # @return [Boolean] The result # # false: # * if pattern does not match # # true: # * if pattern matches # # @example Use matcher with regexp # # RSpec.describe do # it { expect(files).to include a_path_matching_pattern /asdf/ } # end RSpec::Matchers.alias_matcher :a_path_matching_pattern, :match
Version data entries
8 entries across 8 versions & 1 rubygems