Sha256: a1d09db56370457cc27255a93a9e4faabb1a871b4440b6dec20a98e5f8278db4

Contents?: true

Size: 219 Bytes

Versions: 4

Compression:

Stored size: 219 Bytes

Contents

module ApiHelper
  include Rack::Test::Methods

  def app
    Rails.application
  end

  RSpec.configure do |c|
    c.include self,
      :type => :api,
      :example_group => { :file_path => %r(spec/api) }
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
csp_report-1.0.1 spec/support/api_helper.rb
csp_report-1.0.0 spec/support/api_helper.rb
csp_report-0.4.0 spec/support/api_helper.rb
csp_report-0.3.0 spec/support/api_helper.rb