Sha256: 66db460a74cc880bc784c803c29b08906425ed7f6fe24aae7bfcff8f9f799e6f

Contents?: true

Size: 314 Bytes

Versions: 13

Compression:

Stored size: 314 Bytes

Contents

# frozen_string_literal: true

RSpec.configure do |config|
  config.before(:each, :type => :controller) do
    config.rspeckled_logger.debug("Before Each  - Start - #{__FILE__}")

    request.headers['accept'] = 'application/json'

    config.rspeckled_logger.debug("Before Each  - End   - #{__FILE__}")
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rspeckled-2.0.1 lib/rspeckled/plugins/hooks/request.rb
rspeckled-2.0.0 lib/rspeckled/plugins/hooks/request.rb
rspeckled-1.4.0 lib/rspeckled/plugins/hooks/request.rb
rspeckled-1.3.1 lib/rspeckled/plugins/hooks/request.rb
rspeckled-1.3.0 lib/rspeckled/plugins/hooks/request.rb
rspeckled-1.2.1 lib/rspeckled/plugins/hooks/request.rb
rspeckled-1.2.0 lib/rspeckled/plugins/hooks/request.rb
rspeckled-1.1.3 lib/rspeckled/plugins/hooks/request.rb
rspeckled-1.1.2 lib/rspeckled/plugins/hooks/request.rb
rspeckled-1.1.1 lib/rspeckled/plugins/hooks/request.rb
rspeckled-1.1.0 lib/rspeckled/plugins/hooks/request.rb
rspeckled-1.0.5 lib/rspeckled/plugins/hooks/request.rb
rspeckled-1.0.4 lib/rspeckled/plugins/hooks/request.rb