Created
August 4, 2014 23:06
-
-
Save stevehodgkiss/50263314e0ba776ef0b8 to your computer and use it in GitHub Desktop.
context blocks for minitest
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
require 'minitest/autorun' | |
class MiniTest::Spec | |
class << self | |
alias context describe | |
end | |
end | |
describe Class do | |
context 'my context' do | |
it 'does something' | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment