Sha256: eadc27ea2fcb2d2819b80ea3c5c06bd66db14a50d3b05c6d2cb0e491f02afc97
Contents?: true
Size: 671 Bytes
Versions: 8
Compression:
Stored size: 671 Bytes
Contents
# describe SknSettings, "Application Configuration" do it 'contains the test settings for the application' do expect(SknSettings.Packaging.pomVersion).to eq SknUtils::VERSION expect(SknSettings.Packaging.configName).to eq 'test.local' expect(SknSettings.Packaging.isTest).to be true end it 'contains the current RACK or RAILS environment values' do expect(SknSettings.env).to eq 'test' expect(SknSettings.env.test?).to be true expect(SknSettings.env.development?).to be false end it 'contains the application root path as a string' do expect(SknSettings.root).to eq Dir.pwd expect(SknSettings.root).to be_a(String) end end
Version data entries
8 entries across 8 versions & 1 rubygems