everydayrails / everydayrails-rspec-2017

Sample source for the 2017 edition of Everyday Rails Testing with RSpec.
http://rspectutorial.com
312 stars 247 forks source link

Chapter 11 `focus: true` or `:focus` #56

Closed JunichiIto closed 6 years ago

JunichiIto commented 6 years ago

Chapter 11, page 190,

scenario "user completes a project", :focus do

You used :focus instead of focus: true, but this style is not described in this book, so readers might be confused. I recommend mentioning about it.

JunichiIto commented 6 years ago

FYI, One of our reviewers said to me he wondered :focus option.

ruralocity commented 6 years ago

I've fixed this for the next release, and explained that both variations are possible.

ruralocity commented 6 years ago

Released