Sha256: 1d5bb991f42f5019de8b0375dab9a4f994899917a529d35af8b865d8145c8f70
Contents?: true
Size: 609 Bytes
Versions: 1
Compression:
Stored size: 609 Bytes
Contents
require_relative '../../../../test_helper' module Troo module Commands module Show describe Resource do let(:described_class) { Resource } let(:type) {} let(:id) {} describe '#initialize' do subject { described_class.new(type, id) } it 'assigns the type to an instance variable' do subject.instance_variable_get('@type').must_equal(type) end 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/show/resource_test.rb |