Sha256: aa30e7c9133e02c2541de87c0e6cdb99f2cc14f211a49c09bf93f2713849c200
Contents?: true
Size: 414 Bytes
Versions: 35
Compression:
Stored size: 414 Bytes
Contents
# frozen_string_literal: true module CommentsHelpers def have_comment_from(user, text, opts = {}) within "#comments" do have_content(user.name, opts) && have_content(text, opts) 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
35 entries across 35 versions & 1 rubygems