x
Failures:
1) My test does something
Failure/Error: expect(actual).to eq(expected)
Expected { customer: { person: #<Person:0x00007ffd699c9320 @name="Marty McFly, Jr.", @age=17>, shipping_address: { line_1: "456 Ponderosa Ct.", city: "Hill Valley", state: "CA", zip: "90382" } }, items: [{ name: "Fender Stratocaster", cost: 100000, options: ["red", "blue", "green"] }, { name: "Mattel Hoverboard" }] }
to eq { customer: { person: #<Person:0x00007ffd699c9000 @name="Marty McFly", @age=17>, shipping_address: { line_1: "123 Main St.", city: "Hill Valley", state: "CA", zip: "90382" } }, items: [{ name: "Fender Stratocaster", cost: 100000, options: ["red", "blue", "green"] }, { name: "Chevy 4x4" }] }
Diff:
┌ (Key) ──────────────────────────┐
│ ‹-› in expected, not in actual │
│ ‹+› in actual, not in expected │
│ ‹ › in both expected and actual │
└─────────────────────────────────┘
{
customer: {
- person: #<Person:0x7ffd699c9000 {
- @age=17,
- @name="Marty McFly"
- }>,
+ person: #<Person:0x7ffd699c9320 {
+ @age=17,
+ @name="Marty McFly, Jr."
+ }>,
shipping_address: {
- line_1: "123 Main St.",
+ line_1: "456 Ponderosa Ct.",
city: "Hill Valley",
state: "CA",
zip: "90382"
}
},
items: [
{
name: "Fender Stratocaster",
cost: 100000,
options: [
"red",
"blue",
"green"
]
},
{
- name: "Chevy 4x4"
+ name: "Mattel Hoverboard"
}
]
}