This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Used for Jasmine tests in CI and in developer PC with http://localhost:3000/jasmine | |
# You need to install PhantomJS on your PC/Mac or VM to run Jasmine tests. | |
group :development, :test do | |
gem "jasminerice", '0.0.9' # Use Jasmine with asset pipeline in order to test with CoffeeScript, HAML and SASS. | |
gem "jasminerice-runner", '0.0.3' # Make JasmineRice run in command line with 'rake jasminerice:run' | |
gem "poltergeist", '0.7.0' # jasminerice-runner uses Capybara to run Jasmine, and Poltergeist adds PhantomJS support to Capypara to make tests run headlessly on CI. | |
gem "guard-jasmine" | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: Add | |
Scenario Outline: Add | |
When I add <firstNumber> and <secondNumber> | |
Then the sum is <sum> | |
Examples: | |
| firstNumber | secondNumber | sum | | |
| I | I | II | | |
| I | II | III | | |
| II | I | III | |