Sha256: a976624d63be768ff139fd3f297253e67d9e85e6296bbe47f191cc5dd0686940

Contents?: true

Size: 298 Bytes

Versions: 3

Compression:

Stored size: 298 Bytes

Contents

module Spec
  module Runner
    class Configuration
      def enable_hornsby(options = {})
        Hornsby.load(options)

        include(Hornsby::Helper)
        before do
          Hornsby.setup(self)
        end
        after do
          Hornsby.teardown
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
sinsiliux-hornsby-0.4.0 lib/hornsby/rspec_extensions.rb
sinsiliux-hornsby-0.4.1 lib/hornsby/rspec_extensions.rb
hornsby-0.4.2 lib/hornsby/rspec_extensions.rb