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