Sha256: 7463f4bb554df12fc4f54c172178fdaa3b3aed6b44543215228f39bef3ba9035

Contents?: true

Size: 443 Bytes

Versions: 1

Compression:

Stored size: 443 Bytes

Contents

require_relative '../../../../test_helper'

module Troo
  module Commands
    module Default
      describe Resource do
        let(:described_class) { Resource }
        let(:id)    {}

        describe '#initialize' do
          subject { described_class.new(id) }

          it 'assigns the id to an instance variable' do
            subject.instance_variable_get('@id').must_equal(id)
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
troo-0.0.8 test/lib/troo/commands/default/resource_test.rb