Sha256: d89eee297493dc4754e710efe965e189477d646674c9c8df820d1866c8aeaa98

Contents?: true

Size: 360 Bytes

Versions: 4

Compression:

Stored size: 360 Bytes

Contents

module Cucumber
  module Web
    module URLs
      def url_for(*names)
        Capybara.app.url_for(*names)
      end
      alias_method :url, :url_for

      def absolute_url_for(*names)
        "http://www.example.com" + Capybara.app.url_for(*names)
      end
      alias_method :absolute_url, :absolute_url_for
    end
  end
end

World(Cucumber::Web::URLs)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
codesake-dawn-0.85 spec/support/hello_world_padrino/features/support/url.rb
codesake-dawn-0.80.0 spec/support/hello_world_padrino/features/support/url.rb
codesake-dawn-0.79.99 spec/support/hello_world_padrino/features/support/url.rb
codesake-dawn-0.77 spec/support/hello_world_padrino/features/support/url.rb