Sha256: d63f11774957935c215cd16787ca952049706bffab1a9369af08c4c2ec4cc7d2

Contents?: true

Size: 568 Bytes

Versions: 4

Compression:

Stored size: 568 Bytes

Contents

require 'test_helper'

module Vedeu

  module DSL

    describe Stream do

      let(:described) { Vedeu::DSL::Stream }
      let(:instance)  { described.new(model) }
      let(:model)     { mock('Vedeu::Stream') }
      let(:client)    {}

      describe '#initialize' do
        subject { instance }

        it { subject.must_be_instance_of(Vedeu::DSL::Stream) }
        it { subject.instance_variable_get('@model').must_equal(model) }
        it { subject.instance_variable_get('@client').must_equal(client) }
      end

    end # Stream

  end # DSL

end # Vedeu

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vedeu-0.3.3 test/lib/vedeu/dsl/stream_test.rb
vedeu-0.3.2 test/lib/vedeu/dsl/stream_test.rb
vedeu-0.3.1 test/lib/vedeu/dsl/stream_test.rb
vedeu-0.3.0 test/lib/vedeu/dsl/stream_test.rb