Created
February 11, 2015 11:09
-
-
Save xmjw/99d8ae0436eb7eb55d4b to your computer and use it in GitHub Desktop.
RSpec Segfault
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
class MyThing | |
end | |
RSpec.shared_examples 'a thing that causes a segfault' do | |
it 'segfaults' do | |
expect(true).to eq(true) | |
end | |
end | |
RSpec.describe MyThing do | |
def app | |
MyThing | |
end | |
it_behaves_like 'a thing that causes a segfault' do | |
let(:app) { app } | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment