Sha256: 2afdb748c2ffd8c1703a725dbcccd2a03964414ce767b9af3aaac8ee07a7a7eb

Contents?: true

Size: 446 Bytes

Versions: 2

Compression:

Stored size: 446 Bytes

Contents

require 'spec_helper'

describe Staticpress::Settings do
  basic_blog

  describe '.default' do
    it '...' do
      expect(Staticpress::Settings.instance.verbose).to be_false
    end
  end

  describe '.set!' do
    it '...' do
      expect(Staticpress::Settings.instance.favorite_number).to be_nil
      Staticpress::Settings.set! :favorite_number => 42
      expect(Staticpress::Settings.instance.favorite_number).to eq(42)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
staticpress-0.7.1 spec/unit/staticpress/settings_spec.rb
staticpress-0.7.0 spec/unit/staticpress/settings_spec.rb