Sha256: ea936b46b7f5e49a205f3561df5903bc671679d886ff2da8be1c50ef58aa2362

Contents?: true

Size: 299 Bytes

Versions: 8

Compression:

Stored size: 299 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe Arstotzka::KeyChanger do
  describe '#yard' do
    subject(:key_changer) do
      described_class.new('the_key', case: :upper_camel)
    end

    it 'converts key case' do
      expect(key_changer.key).to eq('TheKey')
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
arstotzka-1.6.2 spec/integration/yard/arstotzka/key_changer_spec.rb
arstotzka-1.6.1 spec/integration/yard/arstotzka/key_changer_spec.rb
arstotzka-1.6.0 spec/integration/yard/arstotzka/key_changer_spec.rb
arstotzka-1.5.0 spec/integration/yard/arstotzka/key_changer_spec.rb
arstotzka-1.4.4 spec/integration/yard/arstotzka/key_changer_spec.rb
arstotzka-1.4.3 spec/integration/yard/arstotzka/key_changer_spec.rb
arstotzka-1.4.2 spec/integration/yard/arstotzka/key_changer_spec.rb
arstotzka-1.4.1 spec/integration/yard/arstotzka/key_changer_spec.rb