Sha256: 273e5066401b7473065b8c01b50765d03ab607681f6d643b281006d3d7db0da0
Contents?: true
Size: 515 Bytes
Versions: 13
Compression:
Stored size: 515 Bytes
Contents
require 'spec_helper' describe Happy do describe '#env' do it "is a StringInquirer instance describing the RACK environment" do Happy.env.should be_kind_of(ActiveSupport::StringInquirer) end it "provides #development?, #production? etc." do ENV['RACK_ENV'] = 'development' Happy.env.should be_development Happy.env.should_not be_production ENV['RACK_ENV'] = 'production' Happy.env.should be_production Happy.env.should_not be_development end end end
Version data entries
13 entries across 13 versions & 1 rubygems