Project

General

Profile

Testing plugins with Rspec

Added by Andi R over 13 years ago

Hello together !

I'm currently trying to use Rspec for testing a redmine plugin, but i couldnt get it done so far.
First i integrated rspec 1.2.9 in rubymine - everything working so far.
Then i used the rspec plugin generator (https://github.com/patmaddox/rspec-plugin-generator) and replaced the corresponding files in the plugin. After running the task spec:plugins in redmine i get the error "undefined method `mattr_accessor' for Engines:Module (NoMethodError)".
The whole error message: http://pastebin.com/a3C5DmQQ.

Any help is highly appreciated !!

Greetings
Andi


Replies (1)

RE: Testing plugins with Rspec - Added by Gabriel Mazetto over 11 years ago

I would like to know if you get it fixed, because I also would like to have some tests running with rspec

    (1-1/1)