Sha256: 7b432a84825ba58249f7e880d6d80e3ef08097ebac4d0f724ec533bab37dd3f1
Contents?: true
Size: 760 Bytes
Versions: 12
Compression:
Stored size: 760 Bytes
Contents
When(/^I export people list$/) do find("[href$=xlsx]").click end Then(/^the file is downloaded$/) do # Nothing to do, error appears in previous step if any problem end Given(/^a very long comment on this person$/) do @comment = create(:dorsale_comment, commentable: @person, text: Faker::Lorem.paragraph(10)) end Then(/^I see the truncated comment$/) do expect(page).to have_selector(".comment-text-truncated") expect(page).to have_no_selector(".comment-text") end Then(/^I see the full comment$/) do expect(page).to have_selector(".comment-text") expect(page).to have_no_selector(".comment-text-truncated") end Given(/^a short comment on this person$/) do @comment = create(:dorsale_comment, commentable: @person, text: "i am short") end
Version data entries
12 entries across 12 versions & 1 rubygems