Sha256: 3bd717e8a6cc98a02f7e98ef13fec54dd00daf46f47cee342b0027204a606035
Contents?: true
Size: 478 Bytes
Versions: 9
Compression:
Stored size: 478 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe GithubCLI::Util, '#convert_value' do it { expect(subject.convert_value(false)).to eq "false" } it { expect(subject.convert_value(true)).to eq "true" } it { expect(subject.convert_value(:bar)).to eq "bar" } it { expect(subject.convert_value(123)).to eq "123" } it { expect(subject.convert_value({:a => false})).to eql ["false"] } it { expect(subject.convert_value([2.5])).to eql ["2.5"] } end # convert_value
Version data entries
9 entries across 9 versions & 1 rubygems