Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Mar 12, 2018
1 parent 4782d70 commit e6d73b5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/stage1_test.rb
Expand Up @@ -196,4 +196,17 @@
end
end
end

describe "#merge" do
it "keeps logical volume if specified in other" do
devicegraph_stub("xfs.yaml")

other = described_class.new
other.add_device("/dev/sda5")

subject.merge(other)

expect(subject.devices).to eq ["/dev/sda5"]
end
end
end

0 comments on commit e6d73b5

Please sign in to comment.