Skip to content

Instantly share code, notes, and snippets.

@chebyte
Created June 13, 2011 14:59
Show Gist options
  • Save chebyte/1022925 to your computer and use it in GitHub Desktop.
Save chebyte/1022925 to your computer and use it in GitHub Desktop.
sinatra template cucumber rspec 2
#https://github.com/chebyte/sinatra-cucumber-rspec-2-template
== Rspec 2 ==
#ruby spec/example_spec.rb
.
Finished in 0.06865 seconds
1 example, 0 failures
== Cucumber ==
#cucumber features
Feature: View my page
In order for visitors to feel welcome
We must go out of our way
With a kind greeting
Scenario: My page # features/my_page.feature:6
Given I am viewing my page # features/step_definitions/my_page_steps.rb:1
Then I should see "Hello Api!" # features/step_definitions/web_steps.rb:107
1 scenario (1 passed)
2 steps (2 passed)
0m0.438s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment