Sha256: 1839c6c7a0c0e6b523dcb9ce5b4350a0bf59f1e2b526e7eeb58b349ddbaaf352
Contents?: true
Size: 585 Bytes
Versions: 2
Compression:
Stored size: 585 Bytes
Contents
require 'spec_helper' describe "Settings" do context "#settings" do subject { settings } context "when method called two times" do let(:other_settings) { settings } it { expect(subject).to equal(other_settings) } it { expect(other_settings).to be_a_kind_of(SexySettings::Base) } end end context "SexySettings configuration" do subject { SexySettings.configuration } it { expect(subject.path_to_custom_settings).to include('config/custom.yml') } it { expect(subject.path_to_default_settings).to include('config/default.yml') } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
howitzer-1.0.2 | spec/unit/lib/settings_spec.rb |
howitzer-1.0.1 | spec/unit/lib/settings_spec.rb |