Sha256: 5c8d3089643139418b4fd3b02f0db82cb0d91bfacb814a8e15b2f455d9898f02
Contents?: true
Size: 672 Bytes
Versions: 4
Compression:
Stored size: 672 Bytes
Contents
require File.dirname(__FILE__) + '/spec' class AutoDetectionSpec < Spec include Remix 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.1.3 | spec/auto_detection_spec.rb |
remix-stash-1.1.2 | spec/auto_detection_spec.rb |
remix-stash-1.1.1 | spec/auto_detection_spec.rb |
remix-stash-1.1.0 | spec/auto_detection_spec.rb |