# 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:** 4

<div class="post-metadata">

**Author:** ![gdpelican](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gdpelican/32/81308_2.png) [@gdpelican](https://meta.discourse.org/u/gdpelican)\
**Post date:** [February 12, 2017, 4:15am UTC](https://meta.discourse.org/t/plugin-rspec-get-problems/57256/4 "2017-02-12T04:15:09Z")

</div>

One thing I found was that I had to run rspec from the discourse root directory, rather than in the plugin directory

(ie, I have to do

```plaintext
cd ~/workspace/discourse
rspec plugins/babble/spec

```

rather than

```plaintext
cd ~/workspace/discourse/plugins/babble
rspec spec

```

)

This is probably a failing of my environment or my tests somehow, but don’t have motivation to find out why.

---

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