# Plugin RSpec "get" problems

**URL:** <https://meta.discourse.org/t/plugin-rspec-get-problems/57256>\
**Category:** Development\
**Created:** [February 11, 2017, 11:39pm UTC](https://meta.discourse.org/t/plugin-rspec-get-problems/57256 "2017-02-11T23:39:34Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![jafeth.diazc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jafeth.diazc/32/101197_2.png) [@jafeth.diazc](https://meta.discourse.org/u/jafeth.diazc)\
**Post date:** [February 17, 2017, 2:55am UTC](https://meta.discourse.org/t/plugin-rspec-get-problems/57256/5 "2017-02-17T02:55:21Z")

</div>

Hello @gdpelican, I tried to run the babble controller specs and I got about 16 errors with the following form:

```
ActionController::UrlGenerationError:
No route matches {:action=>"destroy_post", :controller=>"babble/topics", :id=>"5979", :post_id=>"5727"}

```

Which were unexpected since the routeset was specified like this:

```
describe ::Babble::TopicsController do
  routes { ::Babble::Engine.routes }
end

```

as shown in the rspec docs for [engine routes](https://www.relishapp.com/rspec/rspec-rails/docs/routing-specs/engine-routes).

I must say I didn’t modify babble code and also I got the same errors with the specs of a plugin I’m writing.

What do you think could be the problem?

---

_[View the full topic](https://meta.discourse.org/t/plugin-rspec-get-problems/57256)._
