Sha256: 2fc8e48df9d9c79db24e8ba465e1d62f5fb290a66c5d71ac6e52955d547ff3de

Contents?: true

Size: 263 Bytes

Versions: 20

Compression:

Stored size: 263 Bytes

Contents

module Billy
  module RspecHelper
    def proxy
      Billy.proxy
    end
  end
end

RSpec.configure do |config|
  config.include(Billy::RspecHelper)

  config.append_after(:each) do
    proxy.reset
  end

  config.after(:suite) do
    Billy.proxy.stop
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
puffing-billy-4.0.0 lib/billy/init/rspec.rb
puffing-billy-3.2.0 lib/billy/init/rspec.rb
puffing-billy-3.1.0 lib/billy/init/rspec.rb
puffing-billy-3.0.4 lib/billy/init/rspec.rb
puffing-billy-3.0.3 lib/billy/init/rspec.rb
puffing-billy-3.0.2 lib/billy/init/rspec.rb
puffing-billy-3.0.1 lib/billy/init/rspec.rb
puffing-billy-3.0.0 lib/billy/init/rspec.rb
puffing-billy-2.4.1 lib/billy/init/rspec.rb
puffing-billy-2.4.0 lib/billy/init/rspec.rb
puffing-billy-2.3.1 lib/billy/init/rspec.rb
puffing-billy-2.3.0 lib/billy/init/rspec.rb
puffing-billy-2.2.0 lib/billy/init/rspec.rb
puffing-billy-2.1.1 lib/billy/init/rspec.rb
puffing-billy-2.1.0 lib/billy/init/rspec.rb
puffing-billy-2.0.0 lib/billy/init/rspec.rb
puffing-billy-1.1.3 lib/billy/init/rspec.rb
puffing-billy-1.1.2 lib/billy/init/rspec.rb
puffing-billy-1.1.1 lib/billy/init/rspec.rb
puffing-billy-1.1.0 lib/billy/init/rspec.rb