Sha256: f8c6a9d9588d8e3eed5f5ccce60044ea7b3cb0cae9e9797937051745f20b9c49

Contents?: true

Size: 388 Bytes

Versions: 1

Compression:

Stored size: 388 Bytes

Contents

# frozen_string_literal: true
##############################################################################
#                               Timecop Plugin
##############################################################################

RSpec.configure do |config|
  config.before(:each, :type => :controller, :json => true) do
    request.headers['accept'] = 'application/json'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rspeckled-0.0.20 lib/rspeckled/plugins/request.rb