Skip to content

Commit c5659ff

Browse files
committed
This spec is broken on Opal 1.0
1 parent 8fd642b commit c5659ff

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spec-opal/element/expose_spec.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@
5656
end
5757

5858
it 'does not call method_missing after the method is exposed' do
59-
pending "broken on opal < 0.11" if RUBY_ENGINE_VERSION.to_f < 0.11
59+
unless RUBY_ENGINE_VERSION.start_with? '0.11.'
60+
pending "broken on opal < 0.11 and = 1.0"
61+
end
6062

6163
expect(element).to receive(:method_missing).once.with(:exposableMethod)
6264
def element.method_missing(name)

0 commit comments

Comments
 (0)