Sha256: f132c49189e35b3a84558ccae78bae594e1d327dfa7a50963a7f7dadd7804dca

Contents?: true

Size: 451 Bytes

Versions: 3

Compression:

Stored size: 451 Bytes

Contents

RSpec.describe Transform::String do
  describe '.deserialize' do
    it 'should stringify the value' do
      expect(Transform::String.deserialize('test')).to eq 'test'
      expect(Transform::String.deserialize(666)).to eq '666'
    end
  end

  describe '.serialize' do
    it 'should stringify the value' do
      expect(Transform::String.serialize('test')).to eq 'test'
      expect(Transform::String.serialize(666)).to eq '666'
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aggro-0.0.4 spec/lib/aggro/transform/string_spec.rb
aggro-0.0.3 spec/lib/aggro/transform/string_spec.rb
aggro-0.0.2 spec/lib/aggro/transform/string_spec.rb