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

Commit f37c475

Browse files
committed
[opal-0.9] Fix dsl spec
Reason still requires investigration.
1 parent 4cef660 commit f37c475

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/react/dsl_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,9 @@ def render
8282
end
8383

8484
it "can add class names by the haml .class notation" do
85-
stub_const 'Mod::Bar', Class.new(React::Component::Base)
85+
stub_const 'Mod::Bar', Class.new
8686
Mod::Bar.class_eval do
87+
include React::Component
8788
collect_other_params_as :attributes
8889
def render
8990
"a man walks into a bar".span(params.attributes)

0 commit comments

Comments
 (0)