Created
April 26, 2011 17:57
-
-
Save adkron/942752 to your computer and use it in GitHub Desktop.
can not run focused specs
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
shared_examples_for 'example' do | |
it 'should pass' do | |
true.should == true | |
end | |
end | |
describe 'a new example' do | |
it_should_behave_like 'example' | |
it 'should fail' do | |
false.should == true | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment