Sha256: b26cc9885a41e463f2efb82798b6c6bbc016a498ba14a555dd614625218bf03e
Contents?: true
Size: 604 Bytes
Versions: 54
Compression:
Stored size: 604 Bytes
Contents
require 'spec_helper' describe Locomotive::Steam::Configuration do subject { Locomotive::Steam::Configuration.new } describe 'default values' do it { expect(subject.mode).to eq(:production) } it { expect(subject.serve_assets).to eq(true) } it { expect(subject.asset_path).to eq(nil) } end describe 'assign a different value' do before { subject.mode = :test } it { expect(subject.mode).to eq(:test) } context 'the initial value was true' do before { subject.serve_assets = false } it { expect(subject.serve_assets).to eq(false) } end end end
Version data entries
54 entries across 54 versions & 1 rubygems