Skip to content

Commit

Permalink
remove duplicate tests that do identical stuff ( rubocop complain abo…
Browse files Browse the repository at this point in the history
…ut assign itself )
  • Loading branch information
jreidinger committed Jan 4, 2024
1 parent 4d61f68 commit c972517
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions test/y2storage/storage_manager_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -436,18 +436,6 @@
expect(manager.staging.disks.size).to eq 1
end
end

it "increments the staging revision" do
pre = manager.staging_revision
manager.staging = new_graph
expect(manager.staging_revision).to be > pre
end

it "sets #proposal to nil" do
expect(manager.proposal).to_not be_nil
manager.staging = manager.staging
expect(manager.proposal).to be_nil
end
end

describe "#proposal=" do
Expand Down

0 comments on commit c972517

Please sign in to comment.