Sha256: 22a4e9d1d914674e7b91d93adf3512bfe6d744d1698062d612c043087b6de7bd
Contents?: true
Size: 597 Bytes
Versions: 7
Compression:
Stored size: 597 Bytes
Contents
module AllureTurnip module Adaptor def self.included(base) AllureTurnip.context.rspec = base base.send :include, AllureTurnip::DSL if RSpec::Core::Formatters::Loader.formatters.keys.find_all { |f| f == AllureTurnip::Formatter }.empty? RSpec::Core::Formatters.register AllureTurnip::Formatter, *AllureTurnip::Formatter::NOTIFICATIONS RSpec.configuration.add_formatter(AllureTurnip::Formatter) end RSpec::Core::ExampleGroup.send :include, AllureTurnip::Hooks RSpec::Core::Example.send :include, AllureTurnip::DSL::Example end end end
Version data entries
7 entries across 7 versions & 1 rubygems