Sha256: 9fb5f6da6bb31854846b6fb4ce4bc948c6e9bce35e68ea406d0913f708fafdca
Contents?: true
Size: 381 Bytes
Versions: 19
Compression:
Stored size: 381 Bytes
Contents
require 'spec_helper' module Finitio describe Attribute, "to_name" do subject{ attr.to_name } context 'when required' do let(:attr){ Attribute.new(:red, intType) } it{ should eq("red: intType") } end context 'when not required' do let(:attr){ Attribute.new(:red, intType, false) } it{ should eq("red :? intType") } end end end
Version data entries
19 entries across 19 versions & 1 rubygems