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

How to test ActionText components? #2154

Open
mhoad opened this issue Aug 6, 2019 · 2 comments
Open

How to test ActionText components? #2154

mhoad opened this issue Aug 6, 2019 · 2 comments

Comments

@mhoad
Copy link

mhoad commented Aug 6, 2019

I know this isn't the correct place for this but I am honestly not sure where else to ask at the moment. I can't figure out how to possibly test ActionText components using RSpec. I tried posting about this on StackOverflow here https://stackoverflow.com/questions/57319708/how-to-test-actiontext-using-rspec but haven't had any luck at all so far. Is this currently supported by RSpec 3?

@JonRowe
Copy link
Member

JonRowe commented Aug 8, 2019

All of our Rails 6 support is in the 4-0-dev branch, and won't be backported to 3 due to the fact we're changing our release cycle to match rails, and releasing new major versions supporting the versions of rails that are, er, supported 😂

I'm not sure if anyone has added actiontext support yet but thats where it'd be, @samphippen any ideas?

@benoittgt
Copy link
Member

@mhoad Sorry for the delay. Are you still stuck? I don't think there is support at the moment

FWIW, any kind of active_storage support is probably going to have similar questions about ActiveStorage::Blobs (and action_text about ActionText::RichText) so it'd be good to have a plan for handling those consistently.
#2119 (review)

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

No branches or pull requests

4 participants