Skip to content

Instantly share code, notes, and snippets.

View bastelfreak's full-sized avatar
🏠
Working from home

Tim Meusel bastelfreak

🏠
Working from home
View GitHub Profile
@bastelfreak
bastelfreak / bad_foo_spec.rb
Created October 21, 2015 15:58 — forked from danzilio/bad_foo_spec.rb
Good vs Bad Tests
# This basically tests that Puppet works.
describe 'foo' do
let(:params) { :param => 'somevalue' }
it do
should contain_file('bar').with({
:ensure => present,
:owner => root,
:group => root,
:mode => 0644,