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

Commit 7253208

Browse files
committed
Fix deprecation warning
1 parent d90ba56 commit 7253208

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/react/dsl_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def render
172172
_undefined_method
173173
end
174174
end
175-
expect { React.render_to_static_markup(React.create_element(Foo)) }
175+
expect { React::Server.render_to_static_markup(React.create_element(Foo)) }
176176
.to raise_error(NoMethodError)
177177
end
178178

0 commit comments

Comments
 (0)