Skip to content

Instantly share code, notes, and snippets.

@makoto
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save makoto/388a318551b55b9bb63d to your computer and use it in GitHub Desktop.
Save makoto/388a318551b55b9bb63d to your computer and use it in GitHub Desktop.
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html
Desk Top Publisher:
    PI category: '1'
    PL category: '3'
    EL category: '5'
    Feature: As Simply Business
      I want to charge the right premium
      So that I can offer the right insurance

    Background:
    Given I am only interested in quotes from "AIG"

    Scenario Outline: Professional indemnity cover is driven by trade, cover limit, and annual turnover
    Given I am a "<profession>" Professional
    When I provide the following details
      | Annual turnover   | Years trading | UK postcode | PI cover limit   |
      | <annual turnover> | Over 5 years  | AB30 0SH    | <pi cover limit> |
    Then I will be quoted the following tech premiums
      | cover                  | premium           |
      | Professional indemnity | <pi tech premium> |
    Examples:
      | profession          | annual turnover | pi cover limit |  pi tech premium |
      | Desk Top Publisher  | £25,000         | 1,000,000      |  £5              |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment