Sha256: f6d7d80b3ae2197b0385bdb04c34a5bc38f8296f037b58ccb132bbe3797b3665

Contents?: true

Size: 371 Bytes

Versions: 9

Compression:

Stored size: 371 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe GithubCLI::Util, '#convert_values' do
  let(:values) { [true, {:a => false }, 'string']}

  it { expect(subject.convert_values(values)).to include(["false"]) }

  it { expect(subject.convert_values(values)).to include("true") }

  it { expect(subject.convert_values(values)).to include("string") }

end # convert_values

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
github_cli-0.6.2 spec/github_cli/util/convert_values_spec.rb
github_cli-0.6.1 spec/github_cli/util/convert_values_spec.rb
github_cli-0.6.0 spec/github_cli/util/convert_values_spec.rb
github_cli-0.5.9 spec/github_cli/util/convert_values_spec.rb
github_cli-0.5.8 spec/github_cli/util/convert_values_spec.rb
github_cli-0.5.7 spec/github_cli/util/convert_values_spec.rb
github_cli-0.5.6 spec/github_cli/util/convert_values_spec.rb
github_cli-0.5.5 spec/github_cli/util/convert_values_spec.rb
github_cli-0.5.4 spec/github_cli/util/convert_values_spec.rb