Sha256: e7a3c7d9790aab971b54a39dfa46d5454a2286d06954196cd8078d42c7faf690
Contents?: true
Size: 295 Bytes
Versions: 23
Compression:
Stored size: 295 Bytes
Contents
# frozen_string_literal: true require 'active_support/core_ext/string' RSpec.shared_examples 'command' do let(:cmd) { { argument => arg_value } } let(:result) { "#{argument.camelize(:lower)}=#{arg_value} " } it { expect(command.instance_variable_get(:@command)[0]).to eql(result) } end
Version data entries
23 entries across 23 versions & 1 rubygems