Sha256: 9b00dc6046e20743c67e885e962706df47ba7fdee1a1dd78e697a78b0a4676e3

Contents?: true

Size: 671 Bytes

Versions: 23

Compression:

Stored size: 671 Bytes

Contents

# frozen_string_literal: true

require 'test_helper'

module Vedeu

  module Coercers

    describe Streams do

      let(:described) { Vedeu::Coercers::Streams }
      let(:instance)  { described.new(_value) }
      let(:_value)    {}
      let(:klass)     { Vedeu::Views::Streams }

      describe '#initialize' do
        it { instance.must_be_instance_of(described) }
        it { instance.instance_variable_get('@value').must_equal(_value) }
      end

      describe '.coerce' do
        it { described.must_respond_to(:coerce) }
      end

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

    end # Streams

  end # Coercers

end # Vedeu

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
vedeu-0.8.12 test/lib/vedeu/coercers/streams_test.rb
vedeu-0.8.10 test/lib/vedeu/coercers/streams_test.rb
vedeu-0.8.9 test/lib/vedeu/coercers/streams_test.rb