Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

Commit a78edff

Browse files
committed
fix ruby loading opal spec helpers.
how was this not failing before?
1 parent d2cd9a3 commit a78edff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec/support/react/spec_helpers.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
if opal?
12
module React
23
module SpecHelpers
34
`var ReactTestUtils = React.addons.TestUtils`
@@ -60,3 +61,4 @@ def expect_component_to_eventually(component_class, opts = {}, &block)
6061
end
6162
end
6263
end
64+
end

0 commit comments

Comments
 (0)