1 2 3 4 5 6
require 'spec_helper' require 'puppet' describe 'netmask_to_cidr' do it { should run.with_params('255.255.255.0').and_return(24) } end