Logo: Relish

  1. Sign in

Project: relish

Markdown files

  • @gem

Any Markdown file (.md/.markdown) contained in your features
directory (including subdirectories) will be shown on your
features list.

Also, a README markdown file will automatically be shown on
the project or directory page.

Background
And
I have authenticated my user account via the console
And
a project "rspec/rspec-core"
And
project "rspec-core" has a version named "2.0"
And
I am a collaborator on the project "rspec-core"
Scenarios
A project with a README.markdown file
Given
a file named "features/README.markdown" with:
This is markdown text.
When
I successfully run relish push rspec/rspec-core
And
I wait until all the jobs have run
When
I go to rspec-core's project page
Then
I should see "This is markdown text."
A project version with a README.markdown file
Given
a file named "features/README.markdown" with:
This is markdown text for a version.
When
I successfully run relish push rspec/rspec-core:2.0
And
I wait until all the jobs have run
When
I go to rspec's publisher page
Then
I should see "2.0"
When
I follow the left-nav link to version "2.0"
Then
I should see "This is markdown text for a version."
Push and navigate to a normal markdown page
Given
a file named "features/a_directory/Upgrade.markdown" with:
This is upgrade instructions.
When
I successfully run relish push rspec/rspec-core
And
I wait until all the jobs have run
When
I go to rspec-core's project page
And
I follow the left-nav link to "A directory"
Then
I should see "Upgrade"
When
I follow the left-nav link to "Upgrade"
And
I should see "This is upgrade instructions."
Push and navigate to a README in a directory of a project
Given
a file named "features/a_directory/README.markdown" with:
This is upgrade instructions.
When
I successfully run relish push rspec/rspec-core
And
I wait until all the jobs have run
When
I go to rspec-core's project page
Then
I should see "A directory"
When
I follow the left-nav link to "A directory"
And
I should see "This is upgrade instructions."
Push and navigate to a README in a directory of a version
Given
a file named "features/a_directory/README.markdown" with:
This is upgrade instructions.
When
I successfully run relish push rspec/rspec-core:2.0
And
I wait until all the jobs have run
When
I go to rspec's publisher page
And
I follow the left-nav link to version "2.0"
Then
I should see "A directory"
When
I follow the left-nav link to "A directory"
And
I should see "This is upgrade instructions."

Last published over 3 years ago by mattwynne.