From fb62d6490c7e55359726fe415c5ef406036736b4 Mon Sep 17 00:00:00 2001 From: Kian-Meng Ang Date: Tue, 16 Apr 2024 17:17:24 +0800 Subject: [PATCH] Fix typos Found via `typos --format brief` --- CHANGELOG.md | 2 +- README.md | 2 +- test/relations_test.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e801fc5..076919a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ * **BREAKING CHANGE** Drop support for Rails 5.1 * **BREAKING CHANGE** Removed deprecated methods * Fix Rails 6 deprecation warnings -* Add offical support for Rails 6.1 +* Add official support for Rails 6.1 ## 1.4.0 - July 10, 2019 * **BREAKING CHANGE** drop support for rails 4.1 diff --git a/README.md b/README.md index 7adabfe..1148fcf 100644 --- a/README.md +++ b/README.md @@ -167,7 +167,7 @@ end ## Caveats 1. This will only work on associations that are dependent destroy. It -should be trival to change that or make it optional. +should be trivial to change that or make it optional. 1. If you would like to work on this, you will need to setup sqlite on your development machine. Alternately, you can disable specific dev dependencies in the gemspec and test_helper and ask for help. ## Testing diff --git a/test/relations_test.rb b/test/relations_test.rb index a99effa..8f26dee 100644 --- a/test/relations_test.rb +++ b/test/relations_test.rb @@ -34,7 +34,7 @@ class RelationsTest < ActiveSupport::TestCase assert parents.first.archivals.last.archived? end - test "unarchive_all! unarchives all records in an AR Assocation" do + test "unarchive_all! unarchives all records in an AR Association" do 3.times { Archival.create! } archivals = Archival.all