Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
camertron committed Jan 5, 2022
1 parent 981a3fb commit e812f01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/docker/timestamped_image_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
subject { image.current_version&.main_tag }

context 'with no local or remote tags' do
it 'raises an error' do
expect { subject }.to raise_error(Kuby::Docker::MissingTagError)
it 'creates a new tag' do
expect(subject).to match(/\d{14}/)
end
end

Expand Down

0 comments on commit e812f01

Please sign in to comment.