# RSpecing a plugin

**URL:** <https://www.ruby-forum.com/t/rspecing-a-plugin/108994>\
**Category:** Rails\
**Created:** [July 10, 2007, 2:10pm UTC](https://www.ruby-forum.com/t/rspecing-a-plugin/108994 "2007-07-10T14:10:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![awarberg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b5ac83/32.png) [@awarberg](https://www.ruby-forum.com/u/awarberg)\
**Post date:** [July 10, 2007, 2:10pm UTC](https://www.ruby-forum.com/t/rspecing-a-plugin/108994/1 "2007-07-10T14:10:23Z")

</div>

Hi.

I’m trying to write a simple acts\_as plugin. It wasn’t to difficult to  
get that working. But now I’m trying to write specs for my plugin.

I’m not sure how to integrate the “acts\_as\_myplugin” call into my mock.  
I’ve already searched the web but I couldn’t find anything about that  
problem.

Can anyone point me to a way how to accomplish that?

–  
bye  
rubyphunk
