Sha256: 0897a336f44966d8a5e24f1ee1036f71fbeb1f11dc04ce2b1456bdc9af4baf62

Contents?: true

Size: 908 Bytes

Versions: 4

Compression:

Stored size: 908 Bytes

Contents

Feature: Markdown API

  Background:
    Given I have "Github::Client::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

4 entries across 4 versions & 1 rubygems

Version Path
github_api-0.12.3 features/markdown.feature
github_api-0.12.2 features/markdown.feature
github_api-0.12.1 features/markdown.feature
github_api-0.12.0 features/markdown.feature