Sha256: 7147b952bbd021eff0a819f75133535dac3b2b3509ef2f454e8dc7c997875844
Contents?: true
Size: 359 Bytes
Versions: 2
Compression:
Stored size: 359 Bytes
Contents
require "<%= @options.fetch(:rails, nil) ? "rails_helper" : "spec_helper" %>" require "rack/test" require_relative "./support/matchers/rambo_matchers" <% if options.fetch(:rails, nil) %>module ApiHelper include Rack::Test::Methods def app Rails.application end end RSpec.configure do |config| config.include ApiHelper, type: :rambo end<% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rambo_ruby-0.5.0 | lib/rambo/rspec/templates/rambo_helper_file_template.erb |
rambo_ruby-0.4.0 | lib/rambo/rspec/templates/rambo_helper_file_template.erb |