# Integrate test process with Rspec and Cucumber in a plugin using Desert

**URL:** <https://www.ruby-forum.com/t/integrate-test-process-with-rspec-and-cucumber-in-a-plugin-using-desert/166898>\
**Category:** Rails\
**Created:** [April 30, 2009, 5:56pm UTC](https://www.ruby-forum.com/t/integrate-test-process-with-rspec-and-cucumber-in-a-plugin-using-desert/166898 "2009-04-30T17:56:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![romain\_endelin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/eb9ed0/32.png) [@romain\_endelin](https://www.ruby-forum.com/u/romain_endelin)\
**Post date:** [April 30, 2009, 5:56pm UTC](https://www.ruby-forum.com/t/integrate-test-process-with-rspec-and-cucumber-in-a-plugin-using-desert/166898/1 "2009-04-30T17:56:33Z")

</div>

Hello, I’m developing some rails plugins with desert, and I would like  
to use tests with RSpec and Cucumber in the development. RSpec is  
integrated by default in Desert plugins, but it gives me some bugs.  
Finally I have created a minimal application which use my plugin, and  
I try to test it like a normal application without plugin. But I  
dislike that solution, the plugin lost its modularity, and RSpec still  
returns me some bugs (he can’t find the models/views/controllers  
located in the plugin…).  
So has anyone ever tried to test a Desert plugin (or even in a classic  
plugin) and could get solutions to those matters ?

---

<div class="post-metadata">

**Author:** ![romain\_endelin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/eb9ed0/32.png) [@romain\_endelin](https://www.ruby-forum.com/u/romain_endelin)\
**Post date:** [April 30, 2009, 11:13pm UTC](https://www.ruby-forum.com/t/integrate-test-process-with-rspec-and-cucumber-in-a-plugin-using-desert/166898/2 "2009-04-30T23:13:13Z")

</div>

Are you require’ing all of the files it can’t find inside spec\_helper?  
I’ve never done anything with Desert, but sounds like the files aren’t  
being required.

Some code would help diagnose the issue.
