Created
September 9, 2010 06:40
-
-
Save andyferra/571491 to your computer and use it in GitHub Desktop.
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
# spec/tags.rb | |
Tag.define :foo do | |
# ... | |
end | |
Tag.define /logged_in_as_(.*)/ do |role_name| | |
end | |
tag :logged_in_as_admin | |
context 'Managing Dogs', :logged_in_as_admin, :standard_companies_created, :other_bootstrapped_shit do | |
Tag. define :local do | |
end | |
it '...' | |
end | |
context 'Managing Dogs' do | |
logged_in_as_admin | |
standard_companies_created | |
other_bootstrapped_shit | |
it '...' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment