Module: RSpec::Raml::Matchers::ClassMethods

Defined in:
lib/rspec/raml/matchers.rb

Instance Method Summary collapse

Instance Method Details

#raml(&block) ⇒ Object



31
32
33
34
35
36
# File 'lib/rspec/raml/matchers.rb', line 31

def raml(&block)
  let(:_raml_file, &block)
  let(:_raml_finder) do
    RSpec::Raml::Finder.new(::Raml.parse_file(_raml_file))
  end
end