Sha256: d87319c0f15124f517e0520ca349c0242c08391190eaf36d37126ad0687fc506

Contents?: true

Size: 344 Bytes

Versions: 8

Compression:

Stored size: 344 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe LB::Project, '.setup' do
  include_context 'setup'

  subject { object.setup(settings) }

  let(:object) { described_class }

  it 'should return self' do
    expect(subject).to eql(object)
  end

  it 'should set root' do
    subject
    expect(object.root).to be(root)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
lb-project-0.3.1 spec/unit/lb/project/class_methods/setup_spec.rb
lb-project-0.3.0 spec/unit/lb/project/class_methods/setup_spec.rb
lb-project-0.2.3 spec/unit/lb/project/class_methods/setup_spec.rb
lb-project-0.2.2 spec/unit/lb/project/class_methods/setup_spec.rb
lb-project-0.2.1 spec/unit/lb/project/class_methods/setup_spec.rb
lb-project-0.2.0 spec/unit/lb/project/class_methods/setup_spec.rb
lb-project-0.1.1 spec/unit/lb/project/class_methods/setup_spec.rb
lb-project-0.1.0 spec/unit/lb/project/class_methods/setup_spec.rb