module RSpec::Rails::ViewRendering::ClassMethods

Augment the RSpec DSL

Public Instance Methods

auto_validate_rendered_views() click to toggle source
# File lib/apipie/rspec/response_validation_helper.rb, line 147
def auto_validate_rendered_views
  before do
    @is_response_validation_on = true
  end

  after do
    @is_response_validation_on = false
  end
end