Module: React::Test::Matchers

Defined in:
lib/react/test/matchers/render_html_matcher.rb

Defined Under Namespace

Classes: RenderHTMLMatcher

Instance Method Summary collapse

Instance Method Details

#render(*args) ⇒ Object



50
51
52
53
# File 'lib/react/test/matchers/render_html_matcher.rb', line 50

def render(*args)
  %x{ console.error("Warning: `render` matcher is deprecated in favor of `render_static_html`."); }
  RenderHTMLMatcher.new(*args)
end

#render_static_html(*args) ⇒ Object



46
47
48
# File 'lib/react/test/matchers/render_html_matcher.rb', line 46

def render_static_html(*args)
  RenderHTMLMatcher.new(*args)
end