Skip to content

Commit

Permalink
Fixes broken link in M3 Building an API tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
cjsim89 authored Nov 19, 2023
1 parent 1cd2b33 commit e05d4a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module3/lessons/exercises/building_an_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ it "can destroy an book" do
end
```

Alternatively, we can also use RSpec's [expect change](https://www.relishapp.com/rspec/rspec-expectations/v/2-0/docs/matchers/expect-change) method as an extra check. In our case, `change` will check that the numeric difference of `Book.count` before and after the block is run is `-1`.
Alternatively, we can also use RSpec's [expect change](https://rubydoc.info/gems/rspec-expectations/RSpec%2FMatchers:change) method as an extra check. In our case, `change` will check that the numeric difference of `Book.count` before and after the block is run is `-1`.
*spec/requests/api/v1/books_request_spec.rb*
Expand Down Expand Up @@ -619,7 +619,7 @@ def destroy
end
```
Congratulations you have done the thing.
Congratulations - you have done the thing.
### One Step Further
Expand Down

0 comments on commit e05d4a4

Please sign in to comment.