We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
when upgrading from 0.11.0 to 0.12.0 we started seeing this in some rspec failures:
0.11.0
0.12.0
{:available_classes=> [SuperDiff::ActiveRecord::Differs::ActiveRecordRelation, SuperDiff::ActiveSupport::Differs::HashWithIndifferentAccess, SuperDiff::RSpec::Differs::CollectionContainingExactly, SuperDiff::RSpec::Differs::CollectionIncluding, SuperDiff::RSpec::Differs::HashIncluding, SuperDiff::RSpec::Differs::ObjectHavingAttributes, SuperDiff::Basic::Differs::Array, SuperDiff::Basic::Differs::Hash, SuperDiff::Basic::Differs::TimeLike, SuperDiff::Basic::Differs::DateLike, SuperDiff::Basic::Differs::MultilineString, SuperDiff::Basic::Differs::CustomObject, SuperDiff::Basic::Differs::DefaultObject]} F
the error comes in rspec when using have_attributes on an ActiveRecord model:
rspec
have_attributes
ActiveRecord
Expected #<JobEvent id: "5991790f-4823-41e6-b075-5b0a1456d84e", created_at: #<ActiveSupport::TimeWithZone 2024-04-26 15:38:34+(17287/62500) +00:00 (UTC)>, event_name: "JobAssigned", event_source: "web", job_id: "e5d701a9-923a-4698-938f-44a740ca6da6", lat: nil, load_id: nil, lon: nil, occurred_at: #<ActiveSupport::TimeWithZone 2024-04-26 15:38:34+(17287/62500) +00:00 (UTC)>, payload: nil, state: "unloaded", updated_at: #<ActiveSupport::TimeWithZone 2024-04-26 15:38:34+(17287/62500) +00:00 (UTC)>> to have attributes (event_name: "LoadCompleted", event_source: "webhook", state: "load_completed")
the actual failure is the same in 0.11.0 and 0.12.0 but in 0.11.0 there's no printing of :available_classes - any ideas?
:available_classes
The text was updated successfully, but these errors were encountered:
I apologize, I left in a print statement 🤦🏻 . This was fixed in #242. I will get a new release out shortly!
Sorry, something went wrong.
This is now removed in 0.12.1. Please try this version out!
works for me, thanks!
No branches or pull requests
when upgrading from
0.11.0
to0.12.0
we started seeing this in some rspec failures:the error comes in
rspec
when usinghave_attributes
on anActiveRecord
model:the actual failure is the same in
0.11.0
and0.12.0
but in0.11.0
there's no printing of:available_classes
- any ideas?The text was updated successfully, but these errors were encountered: