Use eq instead of == in specs to follow style guide

`==` is rather ugly.