Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Spec? #77

Open
lpzhang-code opened this issue Dec 25, 2020 · 0 comments
Open

Incorrect Spec? #77

lpzhang-code opened this issue Dec 25, 2020 · 0 comments

Comments

@lpzhang-code
Copy link

lpzhang-code commented Dec 25, 2020

Hi guys!

In hangperson_game_spec.rb line 45

it 'returns true' do
   expect(@valid).not_to be false
end

Which is wrong because the word is 'garply' and the guess is 'z': @valid = @game.guess('z')?

Shouldn't it be the other way around?

it 'returns false' do
   expect(@valid).not_to be true
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant