Sha256: 366bd83220f8f78acacf92dc35cada17f4791579de0b07f77cd7fe8ed08b7363

Contents?: true

Size: 977 Bytes

Versions: 107

Compression:

Stored size: 977 Bytes

Contents

Feature: Built-in macro view helpers
  In order to simplify generating HTML

  Scenario: Using the padrino helpers
    Given the Server is running at "padrino-helpers-app"
    When I go to "/former_padrino_test.html"
    And I should see 'href="test2.com"'
    And I should see 'src="/images/test2.png"'
    And I should see 'src="/images/100px.png"'
    And I should see 'src="/javascripts/test1.js"'
    And I should see 'href="/stylesheets/test1.css"'
    And I should see '1 KB'

  Scenario: Setting http_prefix
    Given a fixture app "padrino-helpers-app"
    And a file named "config.rb" with:
    """
    set :http_prefix, "/foo"
    """
    And the Server is running at "padrino-helpers-app"
    When I go to "/former_padrino_test.html"
    And I should see 'src="/foo/images/test2.png"'
    And I should see 'src="/foo/images/100px.png"'
    And I should see 'src="/foo/javascripts/test1.js"'
    And I should see 'href="/foo/stylesheets/test1.css"'

                

Version data entries

107 entries across 107 versions & 5 rubygems

Version Path
middleman-core-4.6.0 features/former_padrino_helpers.feature
middleman-core-4.5.1 features/former_padrino_helpers.feature
middleman-core-4.5.0 features/former_padrino_helpers.feature
middleman-core-4.4.3 features/former_padrino_helpers.feature
middleman-core-4.4.2 features/former_padrino_helpers.feature
middleman-core-4.4.0 features/former_padrino_helpers.feature
middleman-core-4.3.11 features/former_padrino_helpers.feature
middleman-core-4.3.10 features/former_padrino_helpers.feature
middleman-core-4.3.8 features/former_padrino_helpers.feature
middleman-core-4.3.7 features/former_padrino_helpers.feature
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/middleman-core-4.3.3/features/former_padrino_helpers.feature
middleman-core-4.3.6 features/former_padrino_helpers.feature
middleman-core-4.3.5 features/former_padrino_helpers.feature
middleman-core-4.3.4 features/former_padrino_helpers.feature
middleman-core-4.3.3 features/former_padrino_helpers.feature
middleman-core-4.3.2 features/former_padrino_helpers.feature
middleman-core-4.3.1 features/former_padrino_helpers.feature
middleman-core-4.3.0 features/former_padrino_helpers.feature
middleman-core-4.3.0.rc.4 features/former_padrino_helpers.feature
middleman-core-4.3.0.rc.3 features/former_padrino_helpers.feature