CodingZeal/representable_matchers

View on GitHub
lib/matchers/definition_matchers.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Representable
  module Matchers
    module DefinitionMatchers
      def klass(klass)
        add_submatcher(KlassMatcher.new(property, klass))
        self
      end

      def extends(extension)
        add_submatcher(ExtensionOfMatcher.new(property, extension))
        self
      end
    end
  end
end