DRYな備忘録

Don't Repeat Yourself.

undefined method `descrbe' for main:Object (NoMethodError)

RSpecでテスト書いてて掲題のように叱られる

原因

タイポやん。stackoverflow書いてて気づいた。

解決

- descrbe MyModule::MyController, type: :controller do
+ describe MyModule::MyController, type: :controller do

Don't Repeat Yourself!!