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

Less color output + no diff when using super_diff #207

Open
blaineventurine opened this issue Jan 10, 2024 · 0 comments
Open

Less color output + no diff when using super_diff #207

blaineventurine opened this issue Jan 10, 2024 · 0 comments

Comments

@blaineventurine
Copy link

First, thanks for your work on this gem! It was indispensable in a previous codebase, and I'd like to get it working with my current situation, but I'm having some trouble. RSpec produces less color output and no diff with super_diff:

Screenshot 2024-01-10 at 10 35 45 AM

Here's my normal RSpec output:

Screenshot 2024-01-10 at 10 36 17 AM

super_diff does show the full hash (no ... obscuring properties), but it doesn't print it cleanly, there is no color, and there isn't even the key shown.

Ruby: 3.0.1
RSpec: 3.12.2
rspec-rails: 5.1.2
Rails: 6.1.7.6

I've added the default config to the rails_helper, and I've tried manually forcing it to show color output, show the key, changing the colors, etc., and I did have it working on a different project that was on the same major versions of Ruby/Rails/RSpec, so I'm kind of at a loss as to why it's not working now. Any ideas? I've even tried basic comparisons, like expect(q).to eq(2).

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