# Especificação do controlador de plugin: rotas do plugin não são desenhadas

**URL:** <https://meta.discourse.org/t/plugin-controller-spec-plugin-routes-are-not-drawn/108606>\
**Category:** Development\
**Created:** [7 Fevereiro , 2019 15:35 UTC](https://meta.discourse.org/t/plugin-controller-spec-plugin-routes-are-not-drawn/108606 "2019-02-07T15:35:54Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [11 Fevereiro , 2019 11:29 UTC](https://meta.discourse.org/t/plugin-controller-spec-plugin-routes-are-not-drawn/108606/9 "2019-02-11T11:29:58Z")

</div>

> [@kleinfreund](#):
>
> Running the tests for my plugin like this:
> 
> ```plaintext
> LOAD_PLUGINS=1 bundle exec rake plugin:spec["my-plugin"]
> 
> ```

There’s no need to use the `LOAD_PLUGINS=1` in this case since the `plugin:spec` rake task already does it 😉

> <https://github.com/discourse/discourse/blob/2c12336c6b7c8223d4fa00b2e928e276224f05a5/lib/tasks/plugin.rake#L92>

---

_[View the full topic](https://meta.discourse.org/t/plugin-controller-spec-plugin-routes-are-not-drawn/108606)._
