-
-
Notifications
You must be signed in to change notification settings - Fork 925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weird error when refinement is used in rspec #2977
Comments
Another weird issue: module Refin
refine String do
def foo
end
end
end
describe 'foo' do
using Refin
subject { 42 }
it { is_expected.to eq 42 }
end
And again, when you remove the |
I’ve just tested it on the current master (2015-05-23) and the problem persists. /cc @enebo |
We plan to fix this for final but probably not for RC1. |
Still fails in current JRuby master. Bumping priority. |
The issue with mismatched arities and missing blocks is very likely fixed by 02d4f4f in 9.1. Still other issues, though. |
Sorry for such bad title, but I don’t know how to properly described what’s going on here. Let me show you:
When you remove the line
using Refin
, then it runs without problem.I ran into this problem with corefines, you can see similar log here on Travis with jruby-head.
rspec 3.2.3
The text was updated successfully, but these errors were encountered: