foodsoft/spec/controllers/application_controller_spec.rb

13 lines
339 B
Ruby
Raw Normal View History

2022-10-11 16:09:18 +02:00
# frozen_string_literal: true
require 'spec_helper'
describe ApplicationController, type: :controller do
describe 'current' do
it 'returns current ApplicationController' do
ApplicationController.new.send(:store_controller)
expect(ApplicationController.current).to be_instance_of ApplicationController
end
end
end