Sha256: 582683e40d926bb5d5022e51f19cc09b247a63c3d0823a7275eb74e8ee80f192

Contents?: true

Size: 362 Bytes

Versions: 2

Compression:

Stored size: 362 Bytes

Contents

#!/usr/bin/env ruby 

require 'rubygems'                                                                                      
require 'webrat'
require 'webrat/adapters/mechanize'
require 'net/ssh'

class ResponseHelper
  def response
    webrat_session.response
  end
end

World do
  ResponseHelper.new
  Webrat::Session.new(Webrat::MechanizeAdapter.new)
end


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cucumber-nagios-0.6.8 lib/generators/project/features/support/env.rb
cucumber-nagios-0.6.7 lib/generators/project/features/support/env.rb