Skip to content

Commit

Permalink
Added specs.
Browse files Browse the repository at this point in the history
  • Loading branch information
shift committed Apr 5, 2013
1 parent 4cfc241 commit 07d0480
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions spec/classes/tmux_spec.rb
@@ -0,0 +1,17 @@
require 'spec_helper'

describe 'tmux', :type => :class do
let(:facts) { {:operatingsystem => 'Debian', :lsbdistcodename => 'precise'} }

context 'no parameters' do
it { should contain_package('libncurses-dev') }
it { should contain_package('libevent-dev') }
it { should contain_exec('download') }
it { should contain_exec('install') }
it { should contain_exec('extract') }
it { should contain_exec('make') }
it { should create_class('tmux')}
it { should create_class('tmux::debian')}
end

end

0 comments on commit 07d0480

Please sign in to comment.