-
The way I test components at the moment is like this
where
While this works well, I think it could be improved especially with the use of Capybara matchers. Looking around the repo, I got a hint from this PR #344 to use I have updated my spec to use such matcher. However, I'm getting a Updated spec
Error log
I wonder if I'm just missing something simple here or probably there is another way to do this. I appreciate any feedback! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Adding |
Beta Was this translation helpful? Give feedback.
Adding
config.include Capybara::RSpecMatchers, type: :component
torails_helper
did the trick. Closing this now.