Module: Uninhibited
- Defined in:
- lib/uninhibited.rb,
lib/uninhibited/feature.rb,
lib/uninhibited/version.rb,
lib/uninhibited/formatter.rb,
lib/uninhibited/object_extensions.rb,
lib/uninhibited/background_metadata.rb
Defined Under Namespace
Modules: BackgroundMetadata, Feature, ObjectExtensions Classes: Formatter
Constant Summary collapse
- VERSION =
'0.1.0'
Class Method Summary collapse
-
.setup ⇒ Object
Set up Uninhibited’s required features, and configures RSpec as necessary.
Class Method Details
.setup ⇒ Object
Set up Uninhibited’s required features, and configures RSpec as necessary.
11 12 13 14 15 16 17 18 19 |
# File 'lib/uninhibited.rb', line 11 def self.setup Object.send(:include, Uninhibited::ObjectExtensions) RSpec::Core::Metadata.send(:include, BackgroundMetadata) config = RSpec.configuration config.filter[:include_background] = true if config.filter config.formatter = Uninhibited::Formatter end |