Sha256: 9ac489df5404fc634fff778888f381889fb0f45c6dbf886ec867275c98d549c8

Contents?: true

Size: 882 Bytes

Versions: 34

Compression:

Stored size: 882 Bytes

Contents

Feature: Markdown API

  Background:
    Given I have "Github::Markdown" instance

  Scenario: Render arbitrary document

    Given I want to render resource
      And I pass the following request options:
        | text         | mode | context               |
        | Hello world  | gfm  | murek/github_api_test |
    When I make request within a cassette named "markdown/render"
    Then the response status should be 200
      And the response type should be HTML
      And the response should not be empty

  Scenario: Render raw document text/plain

    Given I want to render_raw resource with the following params:
        | text             |
        | Hello cool world |
    When I make request within a cassette named "markdown/render_raw"
    Then the response status should be 200
      And the response type should be HTML
      And the response should not be empty

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
github_api-0.8.6 features/markdown.feature
github_api-0.8.5 features/markdown.feature
github_api-0.8.4 features/markdown.feature
github_api-0.8.3 features/markdown.feature
github_api-0.8.2 features/markdown.feature
github_api-0.8.1 features/markdown.feature
github_api-0.8.0 features/markdown.feature
github_api-0.7.2 features/markdown.feature
github_api-0.7.1 features/markdown.feature
github_api-0.7.0 features/markdown.feature
github_api-0.6.5 features/markdown.feature
github_api-0.6.4 features/markdown.feature
github_api-0.6.3 features/markdown.feature
github_api-0.6.2 features/markdown.feature