Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Writing unit test cases for jekyll plugins need to access the context.registers. #189

Open
rishankHashout opened this issue Apr 18, 2022 · 0 comments

Comments

@rishankHashout
Copy link

Hello ,
I am writing unit test cases for my jekyll plugins , where I need the site variable and context.registers .
I was able to get the site variable using the process used by jekyll-algolia plugin link to jekyll-algolia spec_helper.rb.
Is there a way i can also access the @context.register using the way got access to site variable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant