Sign up for a GitHub account Sign in All Gists public anonymous / - Created August 01, 2014 Code Revisions 1 /.sunken-menu-group /.sunken-menu-contents Embed HTTPS SSH You can clone with HTTPS or SSH . Download Gist /.only-with-full-nav View - - Raw File suppressed. Click to show. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 require 'spec_helper' # redis-server is installed describe command('which redis-server') do it { should return_stdout '/usr/local/bin/redis-server' } end # master service is running and enabled with upstart describe service('redismaster') do it { should be_enabled } it { should be_running } end # slave1 service is runn...