Sha256: 1715172a6c8d8e89f055e30d7a0496f408628c66c53f2cb902c5dc0efff0e2a2

Contents?: true

Size: 412 Bytes

Versions: 6

Compression:

Stored size: 412 Bytes

Contents

require 'spec_helper'

describe MerchCalendar::Configuration do
  describe "#quarter_start_month" do
    it "default value is 8" do
      expect(described_class.new.quarter_start_month).to eq 8
    end
  end

  describe "#quarter_start_month=" do
    it "can set value" do
      config = described_class.new
      config.quarter_start_month = 7
      expect(config.quarter_start_month).to eq 7
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
merch_calendar-0.1.0.rc1 spec/merch_calendar/configuration_spec.rb
merch_calendar-0.0.5 spec/merch_calendar/configuration_spec.rb
merch_calendar-0.0.5.rc1 spec/merch_calendar/configuration_spec.rb
merch_calendar-0.0.4 spec/merch_calendar/configuration_spec.rb
merch_calendar-0.0.3 spec/merch_calendar/configuration_spec.rb
merch_calendar-0.0.1 spec/merch_calendar/configuration_spec.rb