Sha256: 709c779fb5625309de4e922d91f7d2604698dadf61bd2049468302aba425b9dd
Contents?: true
Size: 351 Bytes
Versions: 1
Compression:
Stored size: 351 Bytes
Contents
require 'spec_helper' module Platon Callbacks.setup.error =->(params) { params[:any] == 'any' } RSpec.describe ErrorsController, type: :controller do routes { Platon::Engine.routes } describe 'GET show' do it do get :show, params: { any: :any } expect(response).to have_http_status(200) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
platon.ua-1.0.1 | spec/controllers/platon/errors_controller_spec.rb |