module RspecRequestHelpers

@Author: Andrii Baran @Date: 2019-12-09 15:05:38 @Last Modified by: Andrii Baran @Last Modified time: 2020-01-16 12:17:32

@Author: Andrii Baran @Date: 2019-12-09 15:05:38 @Last Modified by: Andrii Baran @Last Modified time: 2020-01-16 12:17:37

@Author: Andrii Baran @Date: 2020-01-10 17:30:02 @Last Modified by: Andrii Baran @Last Modified time: 2020-01-16 12:17:47

@Author: Andrii Baran @Date: 2019-12-18 13:05:03 @Last Modified by: Andrii Baran @Last Modified time: 2020-01-16 12:19:29

Constants

STATUS_CODE_TO_SYMBOL
SYMBOL_TO_STATUS_CODE
VERSION

Attributes

configuration[RW]

Public Class Methods

configure() { |configuration| ... } click to toggle source
# File lib/rspec_request_helpers.rb, line 32
def self.configure
  yield(configuration)
  Helpers.regenerate_helpers
end
included(receiver) click to toggle source
# File lib/rspec_request_helpers.rb, line 37
def self.included(receiver)
  Helpers.generate_helpers
  receiver.send :include, Helpers
end
reset() click to toggle source
# File lib/rspec_request_helpers.rb, line 28
def self.reset
  @configuration = Configuration.new
end