We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c99383 commit 250a6b6Copy full SHA for 250a6b6
README.md
@@ -385,7 +385,7 @@ DRYにする行為は常に善だと思われているかもしれないが、
385
shared_examplesを利用するとコードの重複を削除できるが、書き方によってはかえって可読性を落とすことがある。
386
387
388
-例として、引数として渡された曜日に対応した分だけポイントを増やすメソッド`Point#increase_by_day_of_the_week`のテストを`shared_examples`を利用して書いてみる。shard_exampleの定義は別ファイルに書かれているとして、先にshared_examplesを利用する側だけのコードを見てみる。
+例として、引数として渡された曜日に対応した分だけポイントを増やすメソッド`Point#increase_by_day_of_the_week`のテストを`shared_examples`を利用して書いてみる。shared_examplesの定義は別ファイルに書かれているとして、先にshared_examplesを利用する側だけのコードを見てみる。
389
390
```ruby
391
RSpec.describe Point, type: :model do
0 commit comments