Sha256: bbb3a52f917c0c72f74dd97d1ca73908a7b05485aa120ac80806bf2f78a0b816
Contents?: true
Size: 307 Bytes
Versions: 1
Compression:
Stored size: 307 Bytes
Contents
require 'spec_helper' describe ContextPreloadController, type: [:controller, :request] do describe '.preload_contexts' do it 'populates contexts' do get '/' expect(controller.current_context(:lang)).to eq(:en) expect(controller.current_context(:city)).to eq(nil) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
contexts-1.1.0 | spec/controllers/context_preload_controller_spec.rb |