Created
November 13, 2013 11:24
-
-
Save sunaot/7447522 to your computer and use it in GitHub Desktop.
rspec で Ruby が segmentation fault 吐いた (Ruby: 2.0.0p195/2.0.0-p247, RSpec: 2.14.7)
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
require 'bundler/setup' | |
module ExtendModule | |
def foo | |
'foo' | |
end | |
def bar | |
'bar' | |
end | |
end | |
describe 'foo' do | |
extend ExtendModule | |
let(:foo) { foo } | |
let(:bar) { bar } | |
it { foo.should be 'foo' } | |
it { bar.should be 'bar' } | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment