brentsnook/shokkenki-provider

View on GitHub
lib/shokkenki/provider/rspec/term/regexp_term.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Shokkenki
  module Provider
    module RSpec
      module Term
        module RegexpTerm
          def verify_within context
            term_value = value
            context.it %Q{matches #{term_value.inspect}} do
              @actual_values.each{ |value| expect(value.to_s).to(match(term_value)) }
            end
          end
        end
      end
    end
  end
end