RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: hodosan
i had same trouble in rspec-rails 2.14.0.
Because of rspec-mocks syntax changed. 'allow' matcher can't use.
Only rename :allow to :other_name, then the code works well.
:allow
:other_name
i had same trouble in rspec-rails 2.14.0.
Because of rspec-mocks syntax changed. 'allow' matcher can't use.
Only rename
:allow
to:other_name
, then the code works well.