Sha256: d795d804a3640071d8f472164109e39931b37b74ca68879952ead1e2547ac97f

Contents?: true

Size: 373 Bytes

Versions: 10

Compression:

Stored size: 373 Bytes

Contents

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

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rspeckled-0.0.30 lib/rspeckled/plugins/request.rb
rspeckled-0.0.29 lib/rspeckled/plugins/request.rb
rspeckled-0.0.28 lib/rspeckled/plugins/request.rb
rspeckled-0.0.27 lib/rspeckled/plugins/request.rb
rspeckled-0.0.26 lib/rspeckled/plugins/request.rb
rspeckled-0.0.25 lib/rspeckled/plugins/request.rb
rspeckled-0.0.24 lib/rspeckled/plugins/request.rb
rspeckled-0.0.23 lib/rspeckled/plugins/request.rb
rspeckled-0.0.22 lib/rspeckled/plugins/request.rb
rspeckled-0.0.21 lib/rspeckled/plugins/request.rb