Skip to content

Commit

Permalink
display packages summary in the migration proposal
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Jun 18, 2015
1 parent ac89663 commit abe660a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib/migration/proposal_store.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class ProposalStore < Installation::ProposalStore
include Yast::Logger
include Yast::I18n

PROPOSAL_NAMES = ["update_proposal"]
PROPOSAL_NAMES = ["update_proposal", "packages_proposal"]
PROPOSAL_PROPERTIES = {
"enable_skip" => "false"
}
Expand Down
6 changes: 4 additions & 2 deletions test/proposal_store_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,15 @@ module Yast

describe ".proposal_names" do
it "returns an update proposal" do
expect(subject.proposal_names).to eq ["update_proposal"]
expect(subject.proposal_names).to eq ["update_proposal",
"packages_proposal"]
end
end

describe ".presentation_order" do
it "returns a presentation order" do
expect(subject.presentation_order).to eq ["update_proposal"]
expect(subject.presentation_order).to eq ["update_proposal",
"packages_proposal"]
end
end

Expand Down

0 comments on commit abe660a

Please sign in to comment.