Sha256: d8d37fb5126a0dae972c7c52156eb99839a0f7835279c14800fc770c686844ee
Contents?: true
Size: 533 Bytes
Versions: 19
Compression:
Stored size: 533 Bytes
Contents
require 'spec_helper' describe Rgentpl do describe '.env' do it 'shows current environment' do expect(Rgentpl.env).to eq('test') end context 'when none default environment is supplied' do before :each do Object.send(:remove_const, :TEMPLATE_ENV) end it 'adds development environment' do expect(Rgentpl.env).to eq('development') end end end describe '.logger' do it 'is a Logger object' do expect(Rgentpl.logger).to be_kind_of Logger end end end
Version data entries
19 entries across 19 versions & 1 rubygems