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