Created
October 27, 2011 14:03
-
-
Save moonmaster9000/1319622 to your computer and use it in GitHub Desktop.
spinach """ support
This file contains hidden or 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: Test How Spinach Works | |
# | |
# Scenario: Test triple equals | |
# Given I have an empty array: | |
# """ | |
# @array = [] | |
# """ | |
# | |
# Then it should be empty: | |
# """ | |
# @array.should be_empty | |
# """ | |
class TestHowSpinachWorks < Spinach::FeatureSteps | |
Given 'I have an empty array:' do | |
eval definition if definition? | |
end | |
Then 'it should be empty:' do | |
eval definition if definition? | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment