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

Commit 686f965

Browse files
committed
Use React::Server.render_to_static_markup instead
1 parent 35cacc7 commit 686f965

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/react/dsl_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def render
168168
_undefined_method
169169
end
170170
end
171-
expect { React.render_to_static_markup(React.create_element(Foo)) }
171+
expect { React::Server.render_to_static_markup(React.create_element(Foo)) }
172172
.to raise_error(NoMethodError)
173173
end
174174

0 commit comments

Comments
 (0)