Commit 23c66ba0 authored by Alex Kalderimis's avatar Alex Kalderimis

Avoid eq assertions for singleton arrays

parent a2ea0d05
......@@ -9,7 +9,7 @@ RSpec.shared_examples 'bulk insertable task' do
end
it 'can generate error messages correctly' do
expect(proxy_class_instance.errors.full_messages).to eq(['Attribute is invalid'])
expect(proxy_class_instance.errors.full_messages).to contain_exactly 'Attribute is invalid'
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment