# Specificaties schrijven voor put naar een aangepast pad/model

**URL:** <https://meta.discourse.org/t/writing-specs-for-put-to-a-custom-path-model/168653>\
**Category:** Development\
**Created:** [29 oktober 2020 om 16:22 UTC](https://meta.discourse.org/t/writing-specs-for-put-to-a-custom-path-model/168653 "2020-10-29T16:22:11Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [12 november 2020 om 14:19 UTC](https://meta.discourse.org/t/writing-specs-for-put-to-a-custom-path-model/168653/4 "2020-11-12T14:19:50Z")

</div>

I figured out my problem (or one of them, anyway). If you have errors in your `model.rb` file like something that tries to do something like `variable_that_is_nil['xxx']`, then the model fails but you don’t see any errors in the spec logs like you do in the rails log if you were “testing” with a browser. So it can seem like the model or controller isn’t getting called when it really is.

But I did actually write an actual `Fabricator`, so thanks for the push, @justin!

---

_[View the full topic](https://meta.discourse.org/t/writing-specs-for-put-to-a-custom-path-model/168653)._
