rlmoser99 / ruby_rspec_TOP

A tutorial that I developed for students at The Odin Project to learn RSpec.

Home Page:https://github.com/TheOdinProject/ruby_testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Avoid two expects in the same test

msespos opened this issue · comments

expect(game.add_nine(6)).to eq(15)

The above line is the first of two expect statements in the same test. I think that two separate tests should be written for clarity.