Sha256: 0130c3ac52f2170f0149b8a2531a26a08a277aef39dae351416313fa110736c5

Contents?: true

Size: 256 Bytes

Versions: 6

Compression:

Stored size: 256 Bytes

Contents

require "spec_helper"
require "99_game"
describe "converter" do
	context "when a number" do
		subject { converter ?5 }
		it { is_expected.to eq 5 }
	end
	context "when an abbreveation" do
		subject { converter ?K }
		it {is_expected.to eq "King"}
	end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
99_game-4.0.4 spec/lib/99_game_spec.rb
99_game-4.0.3 spec/lib/99_game_spec.rb
99_game-3.2.2 spec/lib/99_game_spec.rb
99_game-3.2.0 spec/lib/99_game_spec.rb
99_game-3.1.4 spec/lib/99_game_spec.rb
99_game-2.1.0 spec/lib/99_game_spec.rb