Sha256: a3451e14d3f2e433772d1476d7ec91c1ba0b0d8667957c708e03fce01430774e
Contents?: true
Size: 884 Bytes
Versions: 10
Compression:
Stored size: 884 Bytes
Contents
require 'test_helper' module Vedeu describe Flags do let(:described) { Vedeu::Flags } describe '.ready!' do it { described.ready!.must_equal(true) } end describe '.ready?' do context 'when Vedeu has triggered the :_initialize_ event' do before do described.reset! described.ready! end it { described.ready?.must_equal(true) } end context 'when Vedeu has not triggered the :_initialize_ event' do before do described.reset! end it { described.ready?.must_equal(false) } end end describe '.reset!' do subject { described.reset! } it { subject described.ready?.must_equal(false) } end describe '#reset!' do it { described.instance.must_respond_to(:reset!) } end end # Flags end # Vedeu
Version data entries
10 entries across 10 versions & 1 rubygems