I am using rspec library for unit testing. Is there a way to get the context.registers (site , pages) so that they can be passed to individual functions.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
How to mock @context.registers for writing unit testing | 0 | 600 | April 19, 2022 | |
How can i access global variables for writing unit test cases for my plugins
|
0 | 471 | April 18, 2022 | |
Chaning context.registers[:page]
|
2 | 1843 | November 25, 2018 | |
Accessing site.data in custom tag/plugin
|
0 | 557 | August 3, 2022 | |
Mention other pages linking to current page | 9 | 871 | May 25, 2025 |