Sha256: 714dfadcaa633810b722a7fd2215d12d85fdc1a5a0b368eadd38a29e4db64390
Contents?: true
Size: 531 Bytes
Versions: 1
Compression:
Stored size: 531 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe LB::Project, '.root' do subject { object.root } let(:object) { described_class } context 'without setup' do it 'should return nil' do expect(subject).to be_nil end end context 'without setup' do let(:root) { double(:root) } before(:each) do object.setup(root) end after(:each) do object.remove_instance_variable(:@root) end it 'should return nil' do expect(subject).to be(root) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lb-project-0.0.1 | spec/unit/lb/project/class_methods/root_spec.rb |