Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

snap: push is replaced with upload #1205

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix snap tests for push to upload replace
  • Loading branch information
abitrolly authored Aug 2, 2020
commit 31ff8a1affe7b0416700ca0647d41d9fa6ca31ef
6 changes: 3 additions & 3 deletions spec/dpl/providers/snap_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
it { should have_run '[apt:get] snapd (snap)' }
it { should have_run 'sudo snap install snapcraft --classic' }
it { should have_run 'echo "token" | snapcraft login --with -' }
it { should have_run 'snapcraft push ./snap --release=edge' }
it { should have_run 'snapcraft upload ./snap --release=edge' }
it { should have_run_in_order }
end

describe 'given --snap ./sn*' do
it { should have_run 'snapcraft push ./snap --release=edge' }
it { should have_run 'snapcraft upload ./snap --release=edge' }
end

describe 'given --snap ./snap --channel channel' do
it { should have_run 'snapcraft push ./snap --release=channel' }
it { should have_run 'snapcraft upload ./snap --release=channel' }
end

describe 'given --snap ./snap', run: false do
Expand Down