Module: ReqresRspec
- Extended by:
- ReqresRspec
- Included in:
- ReqresRspec
- Defined in:
- lib/reqres_rspec/version.rb,
lib/reqres_rspec/collector.rb,
lib/reqres_rspec/uploaders.rb,
lib/reqres_rspec/formatters.rb,
lib/reqres_rspec/configuration.rb,
lib/reqres_rspec/formatters/pdf.rb,
lib/reqres_rspec/formatters/base.rb,
lib/reqres_rspec/formatters/html.rb,
lib/reqres_rspec/formatters/json.rb,
lib/reqres_rspec/uploaders/amazon_s3.rb
Defined Under Namespace
Modules: Formatters, Uploaders
Classes: Collector, Configuration
Constant Summary
collapse
- VERSION =
'0.1.14'
Instance Method Summary
collapse
Instance Method Details
#configuration ⇒ Object
8
9
10
|
# File 'lib/reqres_rspec/configuration.rb', line 8
def configuration
@configuration ||= Configuration.new
end
|
4
5
6
|
# File 'lib/reqres_rspec/configuration.rb', line 4
def configure
yield configuration
end
|
#logger ⇒ Object
12
13
14
15
16
17
18
|
# File 'lib/reqres_rspec/configuration.rb', line 12
def logger
@logger ||= if defined?(Rails)
Rails.logger
else
Logger.new(STDOUT)
end
end
|
#root ⇒ Object
20
21
22
|
# File 'lib/reqres_rspec/configuration.rb', line 20
def root
configuration.root
end
|