Sha256: 5df3f4e335ee0457f8651881ec41499dc0b6714aafdde8fd59a5cb4ac653ae0e
Contents?: true
Size: 393 Bytes
Versions: 5
Compression:
Stored size: 393 Bytes
Contents
require 'spec_helper' require 'command_mapper/option_value' require 'command_mapper/types/list' describe CommandMapper::OptionValue do describe "#format" do let(:type) { Types::List.new } subject { described_class.new(type: type) } let(:value) { [1,2,3] } it "must call the #type.format" do expect(subject.format(value)).to eq(type.format(value)) end end end
Version data entries
5 entries across 5 versions & 1 rubygems