February 2018
Intermediate to advanced
406 pages
9h 52m
English
An RSpec file in the spec/models directory is automatically of type: :model, which gives you … not a whole lot of new behavior, actually. An add-on gem called rspec-activemodel-mocks,[13] which is maintained by the RSpec core team, includes some mock-object tools specific to use with ActiveModel.