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 | 637 | April 19, 2022 | |
|
How can i access global variables for writing unit test cases for my plugins
|
0 | 489 | April 18, 2022 | |
|
Chaning context.registers[:page]
|
2 | 1881 | November 25, 2018 | |
|
Accessing site.data in custom tag/plugin
|
0 | 577 | August 3, 2022 | |
| Mention other pages linking to current page | 9 | 938 | May 25, 2025 |