Created
February 25, 2012 00:04
-
-
Save Ragmaanir/1904749 to your computer and use it in GitHub Desktop.
rspec core issue: shared context and its
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
describe 'shared context and its' do | |
shared_context :shared => :ctx do | |
before{ puts 'before';raise if @x; @x = true } | |
end | |
describe 'failing', :shared => :ctx do | |
its(:length){} | |
it(:ok){} | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment