Sha256: 9183002c9112ae898cd730a5ea41d29a6513bfa00fab5a1e4f48d83e27e637d5
Contents?: true
Size: 656 Bytes
Versions: 4
Compression:
Stored size: 656 Bytes
Contents
require File.dirname(__FILE__) + '/spec' class AutoDetectionSpec < Spec context 'Rails' do should 'link the logger object' do assert_equal Rails.logger, Remix::Stash::Runtime.logger end should 'link cycle_action to an after filter' do assert ActionController::Base.after_filters.include?(:cycle_action_vectors) end end context 'environment variables' do should 'pick up cluster configuration from the environment' do assert_equal :environment, stash.default[:cluster] end should 'pick up namespace form the environment' do assert_equal 'spec', stash.default[:namespace] end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
remix-stash-1.0.4 | spec/auto_detection_spec.rb |
remix-stash-1.0.3 | spec/auto_detection_spec.rb |
remix-stash-1.0.2 | spec/auto_detection_spec.rb |
remix-stash-1.0.1 | spec/auto_detection_spec.rb |