Skip to content

Instantly share code, notes, and snippets.

@inokappa
Created June 13, 2013 11:52
Show Gist options
  • Select an option

  • Save inokappa/5773105 to your computer and use it in GitHub Desktop.

Select an option

Save inokappa/5773105 to your computer and use it in GitHub Desktop.
require 'spec_helper'
describe file('/usr/local/etc/app.conf') do
it { should contain "URL=#{attr[:host_name]}.example.com" }
end
describe port('12345') do
it { should be_listening }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment