Sha256: 9a14cd2af488f9b6bb605fb22f060b5eff9cd8f9fb281bf123299d64f3f6a528
Contents?: true
Size: 391 Bytes
Versions: 34
Compression:
Stored size: 391 Bytes
Contents
# frozen_string_literal: true module CommentsHelpers def have_comment_from(user, text) within "#comments" do have_content(user.name) && have_content(text) end end def have_reply_to(comment, text) within "#comments #comment_#{comment.id}" do have_content(text) end end end RSpec.configure do |config| config.include CommentsHelpers, type: :system end
Version data entries
34 entries across 34 versions & 1 rubygems