Sha256: 3cc2f1067cb586173931bca27fbb3a924708b0e332fac85a741c92a683e9df69

Contents?: true

Size: 715 Bytes

Versions: 3

Compression:

Stored size: 715 Bytes

Contents

require_relative '../spec_helper'

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

  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

3 entries across 3 versions & 1 rubygems

Version Path
trollolo-0.3.1 spec/unit/scrum/creator_spec.rb
trollolo-0.3.0 spec/unit/scrum/creator_spec.rb
trollolo-0.2.0 spec/unit/scrum/creator_spec.rb