Sha256: eb51b3883504c36368dfdf2ddfb7cafa369ad72fe7da82fc1fd77033fdd94bbf
Contents?: true
Size: 392 Bytes
Versions: 32
Compression:
Stored size: 392 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: :feature end
Version data entries
32 entries across 32 versions & 2 rubygems