lib/rambo/rspec/spec_file.rb in rambo_ruby-0.2.3 vs lib/rambo/rspec/spec_file.rb in rambo_ruby-0.3.0
- old
+ new
@@ -10,10 +10,10 @@
attr_reader :raml, :examples, :options
TEMPLATE_PATH = File.expand_path('../templates/spec_file_template.erb', __FILE__)
def initialize(raml, options={})
- @raml = Rambo::RamlModels::Api.new(raml)
+ @raml = Rambo::RamlModels::Api.new(raml, options)
@options = options
@examples = Examples.new(@raml, @options)
end
def template