Sha256: c1d32ec5ca27097e6adf03264aa8ebbbf2111393bd7edccbc657ce2dd96f8574

Contents?: true

Size: 712 Bytes

Versions: 6

Compression:

Stored size: 712 Bytes

Contents

require_relative "../spec_helper"

describe Scrum::Creator do
  subject { described_class.new(dummy_settings) }
  let(:custom_subject) {
    custom_settings = dummy_settings
    custom_settings.scrum.board_names["planning"] = "Planungs Brett"
    described_class.new(custom_settings)
  }

  it "creates new creator" do
    expect(subject).to be
  end

  context "default" do
    it "creates boards from default config", vcr: "creator_default_config", vcr_record: false do
      expect { subject.create }.not_to raise_error
    end
    it "creates boards according to existing config", vcr: "creator_custom_config", vcr_record: false do
      expect { custom_subject.create }.not_to raise_error
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
trollolo-0.1.1 spec/unit/scrum/creator_spec.rb
trollolo-0.1.0 spec/unit/scrum/creator_spec.rb
trollolo-0.0.14 spec/unit/scrum/creator_spec.rb
trollolo-0.0.12 spec/unit/scrum/creator_spec.rb
trollolo-0.0.11 spec/unit/scrum/creator_spec.rb
trollolo-0.0.10 spec/unit/scrum/creator_spec.rb