module RSpec::Raml::Matchers

Constants

MATCHERS

Public Class Methods

included(base) click to toggle source
# File lib/rspec/raml/matchers.rb, line 19
      def self.included(base)
        base.extend ClassMethods
        base.let(:_raml_finder) do
          raise ArgumentError, <<-EOMSG.strip_heredoc
            You need to specify a RAML specification file. Example:

              raml { Rails.root.join('docs/api/v1.raml') }
          EOMSG
        end
      end