Sha256: a317c3c4e23b84fae056cfe6a416a846cea0f65377790974d8fbd450ce30fb5c

Contents?: true

Size: 235 Bytes

Versions: 6

Compression:

Stored size: 235 Bytes

Contents

require 'spec_helper'
require 'parameters/types/string'

describe Parameters::Types::String do
  subject { described_class }

  describe "coerce" do
    it "should call #to_s" do
      subject.coerce(1).should == '1'
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
parameters-0.4.4 spec/types/string_spec.rb
parameters-0.4.3 spec/types/string_spec.rb
parameters-0.4.2 spec/types/string_spec.rb
parameters-0.4.0 spec/types/string_spec.rb
parameters-0.3.1 spec/types/string_spec.rb
parameters-0.3.0 spec/types/string_spec.rb