Sha256: d6908fb7547dbe787509bc0577d3246e291b81fbbcf88abfc75a19e6211ae0b3
Contents?: true
Size: 553 Bytes
Versions: 6
Compression:
Stored size: 553 Bytes
Contents
require 'spec_helper' require 'rocket_fuel/precheck' describe RocketFuel::Precheck::CurlCheck do it 'checks for linux' do os = RocketFuel::OperatingSystem.new('linux', '2.6') RocketFuel::SystemDetails.stubs(:os).returns(os) expect(RocketFuel::Precheck::CurlCheck.new).to be_check end it 'does not check for operating systems other than linux' do os = RocketFuel::OperatingSystem.new('darwin', '10.7') RocketFuel::SystemDetails.stubs(:os).returns(os) expect(RocketFuel::Precheck::CurlCheck.new).to_not be_check end end
Version data entries
6 entries across 6 versions & 1 rubygems