Sha256: 18b527d8656cc945a46441412c500eeae808aa550cc1ca7dc04ee73fbdb50a25

Contents?: true

Size: 335 Bytes

Versions: 6

Compression:

Stored size: 335 Bytes

Contents

#!/usr/bin/env ruby 

require 'rubygems'                                                                                      
require 'webrat'
require 'webrat/mechanize'

class ResponseHelper
  def response
    webrat_session.response
  end
end

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


Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cucumber-nagios-0.6.3 lib/generators/project/features/support/env.rb
cucumber-nagios-0.6.2 lib/generators/project/features/support/env.rb
cucumber-nagios-0.6.1 lib/generators/project/features/support/env.rb
cucumber-nagios-0.6.0 lib/generators/project/features/support/env.rb
cucumber-nagios-0.5.1 lib/generators/project/features/support/env.rb
cucumber-nagios-0.5.0 lib/generators/project/features/support/env.rb