Created
October 8, 2015 22:10
-
-
Save 1tylermitchell/663b47f39f3bf590d994 to your computer and use it in GitHub Desktop.
serverspec test for total memory on system
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'spec_helper' | |
describe "Node Memory Availability" do | |
describe host_inventory['memory']['total'].delete('kB').to_i do | |
it { should > 0 } | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment