Setting Up RSpec and FactoryBot
摘要
RSpec is a testing framework for Ruby. RSpec is available to us as a domain-specific language (DSL) written in Ruby and used to test Ruby code. RSpec tests the behavior of Ruby code and considers itself to be a “behavior-driven development” (BDD) framework.