Sha256: 6c74528d38ec11d72e4c0de373f5c2aa088a58014676ad59d5d486a0b1690ed3
Contents?: true
Size: 863 Bytes
Versions: 20
Compression:
Stored size: 863 Bytes
Contents
require 'test_helper' module Landrush describe DependentVMs do describe "any?" do it "reports false when nothing has happened" do DependentVMs.any?.must_equal false end it "reports true once a machine has been added" do DependentVMs.add('recordme.example.dev') DependentVMs.any?.must_equal true end it "reports false if a machine has been added then removed" do DependentVMs.add('recordme.example.dev') DependentVMs.remove('recordme.example.dev') DependentVMs.any?.must_equal false end it "reports true if not all machines have been removed" do DependentVMs.add('recordme.example.dev') DependentVMs.add('alsome.example.dev') DependentVMs.remove('recordme.example.dev') DependentVMs.any?.must_equal true end end end end
Version data entries
20 entries across 20 versions & 1 rubygems