Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

Commit

Permalink
update tests for docker-machine
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanScherer committed Jun 28, 2017
1 parent 65e39cb commit 5dc4996
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
require 'spec_helper'

describe package('docker-machine') do
it { should be_installed }
end

describe command('dpkg -l docker-machine') do
its(:stdout) { should match /ii docker-machine/ }
its(:stdout) { should match /0.9.0-39/ }
its(:exit_status) { should eq 0 }
it { should_not be_installed }
end

describe file('/usr/local/bin/docker-machine') do
Expand All @@ -17,6 +11,6 @@
end

describe command('docker-machine --version') do
its(:stdout) { should match /0.9.0/m }
its(:stdout) { should match /0.12.0/m }
its(:exit_status) { should eq 0 }
end

0 comments on commit 5dc4996

Please sign in to comment.