Sha256: 6a5483d1f88599cca2b99cb2f54b79364ff4c4fb0f3ba447fc88cb365fb05d91

Contents?: true

Size: 236 Bytes

Versions: 3

Compression:

Stored size: 236 Bytes

Contents

require 'spec_helper'
require 'squib/args/embed_key'

describe Squib::Args::EmbedKey do

  context '#validate_key' do

    it 'converts to string' do
      expect(subject.validate_key(2.5)).to eq ('2.5')
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
squib-0.12.0 spec/args/embed_key_spec.rb
squib-0.11.0 spec/args/embed_key_spec.rb
squib-0.9.0 spec/args/embed_key_spec.rb