Skip to content

Instantly share code, notes, and snippets.

@poppen
Last active November 21, 2016 02:49
Show Gist options
  • Save poppen/5508fec8c786fe55cc1d5c795ac22eb4 to your computer and use it in GitHub Desktop.
Save poppen/5508fec8c786fe55cc1d5c795ac22eb4 to your computer and use it in GitHub Desktop.

Revisions

  1. poppen renamed this gist Nov 21, 2016. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. poppen created this gist Nov 21, 2016.
    4 changes: 4 additions & 0 deletions docker_spec.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    kernel = command('uname -r').stdout.chop!
    describe package("linux-image-extra-#{kernel}") do
    it { should be_installed }
    end