require 'rspec_api_helpers/version'
require 'rspec_api_helpers/headers'
require 'rspec_api_helpers/json'
require 'rspec_api_helpers/strategies/json_strategy'

require 'active_support/core_ext/object/json'
require 'active_support/core_ext/hash'

FactoryGirl.register_strategy :json, RspecApiHelpers::Strategies::JsonStrategy

require 'rspec_api_helpers/version'
require 'rspec_api_helpers/headers'
require 'rspec_api_helpers/json'
require 'rspec_api_helpers/strategies/json_strategy'

require 'active_support/core_ext/object/json'
require 'active_support/core_ext/hash'

module RspecApiHelpers
  def self.included(base)
    constants.map(&method(:const_get)).each do |const|
      base.include const if const.class == Module
    end
  end
end

FactoryGirl.register_strategy :json, RspecApiHelpers::Strategies::JsonStrategy

Include child submodules in RspecApiHelpers
Include child submodules in RspecApiHelpers
