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

<div class="post-metadata">

**Author:** ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)\
**Post date:** [February 11, 2017, 11:39pm UTC](https://meta.discourse.org/t/plugin-rspec-get-problems/57256/1 "2017-02-11T23:39:35Z")

</div>

My “learning experience” plugin works. Not everything I have tried worked, but I have been able to find ways to do much of what I’ve been interested in having it do.

Experience has taught me that I prefer to test often and fix problems before things get more complex. I understand that developers might feel that testing is boring, or at least not as much fun as writing “real” code. But I know myself well enough that if I tell myself “I’ll do it later”, there will be a good chance I will never do it, and even if I do the task will have become so large it will be intimidating.

Hence my interest in writing QUnit and RSpec tests earlier rather than later.

I often look at examples of what works to guide my learning. Sadly, most plugins I have looked at do not have RSpec tests. Discourse itself has many, and for the most part they all pass. (jhead and svgo being the pesky exceptions for me)

I am particularly interested in finding a way for the "get"s to work.  
Frustratingly, when I try a path I get a “no matching action” message, and when I try an action I get a “no matching path” message.

The tests as they are now are a bit of a mishmash. some meaningless, some that pass but not for the reason I’d hoped, and there are a lot of commented out lines.  
That is, the tests are very much in a “pre-alpha newbie” state.

[discourse-newpage/spec at master · Mittineague/discourse-newpage · GitHub](https://github.com/Mittineague/discourse-newpage/tree/master/spec)

I imagine most of my problems result from my newbieness and hope I’m just missing something simple. I have been mostly using the Relish documentation, but mabye I should be looking elsewhere?

---

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