rspec (expect syntax) – syntax error, unexpected tASSOC, expecting '}'-Collection of common programming errors
Switching to the new expect() syntax.
getting
syntax error, unexpected tASSOC, expecting '}' (SyntaxError)
for this:
expect(subject.crumbs.last.data).to eq {:foo => :bar }
How to fix this syntax error?