From 0ce16ebcb6884d6060727b6ceda1ff6addb6db01 Mon Sep 17 00:00:00 2001 From: Aarya Date: Sun, 10 Jul 2022 01:09:55 -0700 Subject: [PATCH] Implement solution for Assignment #3 in 15a_binary_game_spec.rb --- spec/15a_binary_game_spec.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/spec/15a_binary_game_spec.rb b/spec/15a_binary_game_spec.rb index 62a2272..ab383c0 100644 --- a/spec/15a_binary_game_spec.rb +++ b/spec/15a_binary_game_spec.rb @@ -280,7 +280,11 @@ # Write a test for the following context. context 'when game minimum and maximum is 100 and 600' do - xit 'returns 9' do + subject(:game_six_hundred) { described_class.new(100, 600) } + + it 'returns 9' do + max = game_six_hundred.maximum_guesses + expect(max).to eq(9) end end end