Open ydah opened 1 year ago
# bad expect(page.find_link('foo')[:class]).to eq 'some-cls' # good expect(page).to have_link('foo', class: 'some-cls')