Module: RspecApiHelpers
- Defined in:
- lib/rspec_api_helpers.rb,
lib/rspec_api_helpers/json.rb,
lib/rspec_api_helpers/headers.rb,
lib/rspec_api_helpers/version.rb,
lib/rspec_api_helpers/strategies/hash_strategy.rb,
lib/rspec_api_helpers/strategies/json_strategy.rb,
lib/rspec_api_helpers/strategies/login_hash_strategy.rb
Defined Under Namespace
Modules: Headers, Json, Strategies
Constant Summary collapse
- VERSION =
'0.1.5'
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
12 13 14 15 16 |
# File 'lib/rspec_api_helpers.rb', line 12 def self.included(base) constants.map(&method(:const_get)).each do |const| base.include const if const.class == Module end end |