Sha256: 9c00b11d434014ae241d9f372f3d55f8fbc1849dda94211f7d20c5b9d1f86afe

Contents?: true

Size: 541 Bytes

Versions: 1

Compression:

Stored size: 541 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
        it { instance.must_be_instance_of(Vedeu::DSL::Stream) }
        it { instance.instance_variable_get('@model').must_equal(model) }
        it { instance.instance_variable_get('@client').must_equal(client) }
      end

    end # Stream

  end # DSL

end # Vedeu

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vedeu-0.3.4 test/lib/vedeu/dsl/stream_test.rb