module ShouldaRenderJsonTestIntegration
Public Instance Methods
render_json(key, options = {})
click to toggle source
# File lib/shoulda_render_json_test_integration.rb, line 2 def render_json(key, options = {}) klass = if options[:type] == Array ShouldaRenderJsonArrayMatcher else ShouldaRenderJsonObjectMatcher end klass.new key, options end