# Plugin tests mislukken met "undefined method \`test\_transaction='"

**URL:** <https://meta.discourse.org/t/plugin-tests-fail-with-undefined-method-test-transaction/176292>\
**Category:** Development\
**Created:** [16 januari 2021 om 16:25 UTC](https://meta.discourse.org/t/plugin-tests-fail-with-undefined-method-test-transaction/176292 "2021-01-16T16:25:31Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [22 januari 2021 om 05:55 UTC](https://meta.discourse.org/t/plugin-tests-fail-with-undefined-method-test-transaction/176292/3 "2021-01-22T05:55:11Z")

</div>

Make sure to include `LOAD_PLUGINS=1` when running `bin/rspec` from the `discourse` source directory (with the plugin repo symlinked from the plugins/ folder).

---

_[View the full topic](https://meta.discourse.org/t/plugin-tests-fail-with-undefined-method-test-transaction/176292)._
