Skip to content

Instantly share code, notes, and snippets.

@tpope
Created December 8, 2008 16:56
Show Gist options
  • Save tpope/33514 to your computer and use it in GitHub Desktop.
Save tpope/33514 to your computer and use it in GitHub Desktop.
Feature: test
Scenario: test
When I run the suite
Then the method should be callable
module Methods
def test_method
true
end
end
Before do
extend Methods
end
When 'I run the suite' do
end
Then 'the method should be callable' do
test_method
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment