Sha256: dc56779dcf5e3eda044a0e35a90a4d209326e7028b26e6bff39a2fa072c59cb5

Contents?: true

Size: 557 Bytes

Versions: 4

Compression:

Stored size: 557 Bytes

Contents

require 'test_helper'

module Vedeu

  describe Clear do

    let(:described) { Vedeu::Clear }
    let(:instance)  { described.new(interface) }
    let(:interface) { Vedeu::Interface.new({ name: 'xenon' }) }

    describe '#initialize' do
      it { instance.must_be_instance_of(Vedeu::Clear) }
      it { instance.instance_variable_get('@interface').must_equal(interface) }
    end

    describe '.clear' do
      subject { described.clear(interface) }
    end

    describe '#write' do
      subject { instance.write }
    end

  end # Clear

end # Vedeu

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vedeu-0.4.9 test/lib/vedeu/output/clear_test.rb
vedeu-0.4.8 test/lib/vedeu/output/clear_test.rb
vedeu-0.4.7 test/lib/vedeu/output/clear_test.rb
vedeu-0.4.6 test/lib/vedeu/output/clear_test.rb