Sha256: 311f8d1f9ea7e0aa76a1f3d5a8ee3029c266b3884e6d09f993d3fbbbe1cca38b

Contents?: true

Size: 1.02 KB

Versions: 7

Compression:

Stored size: 1.02 KB

Contents

require 'test_helper'

module Vedeu

  module DSL

    class TestUseClass

      include Vedeu::DSL::Use

    end

    describe Use do

      let(:described) { Vedeu::DSL::Use }
      let(:model_instance) { Vedeu::DSL::TestUseClass }

      # before do
      #   Vedeu.interfaces.reset
      #   Vedeu.interface('hydrogen') do
      #     delay 0.75
      #   end
      #   Vedeu.interface('helium') do
      #     duplicate('hydrogen')
      #   end
      # end

      describe '#duplicate' do
        subject { model_instance.duplicate(_name) }

        context 'when the model exists' do
          # @todo
          # it { skip }
        end

        context 'when the model does not exist' do
          # @todo
          # it { skip }
        end
      end

      describe '#use' do
        context 'when the model exists' do
          # @todo
          # it { skip }
        end

        context 'when the model does not exist' do
          # @todo
          # it { skip }
        end
      end

    end # Use

  end # DSL

end # Vedeu

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
vedeu-0.4.61 test/lib/vedeu/dsl/use_test.rb
vedeu-0.4.60 test/lib/vedeu/dsl/use_test.rb
vedeu-0.4.59 test/lib/vedeu/dsl/use_test.rb
vedeu-0.4.58 test/lib/vedeu/dsl/use_test.rb
vedeu-0.4.57 test/lib/vedeu/dsl/use_test.rb
vedeu-0.4.56 test/lib/vedeu/dsl/use_test.rb
vedeu-0.4.55 test/lib/vedeu/dsl/use_test.rb