Open heratyian opened 1 month ago
This lesson was really helpful and easy to follow. I understood everything. At first, I was a bit confused about where methods like "be_valid" was defined, but I learned that these are called "matchers" and they come with Rspec. Should we explain what matchers are for clarity?
At first, I was a bit confused about where methods like "be_valid" was defined, but I learned that these are called "matchers" and they come with Rspec. Should we explain what matchers are for clarity?
sounds like a good idea. Want to make a pull request and add a bit of context about matchers? maybe an <aside>
? @ahuynh3a
Sure thing!
rails generate rspec:controller users
creates the file in a "requests" folder spec/requests/users_spec.rb
@DPI-WE/technical-associates