Skip to content

Commit

Permalink
modify assert_line_text method to be able to make correct assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
ono-max committed Jun 8, 2021
1 parent 54614ef commit 518ba5b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/support/utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@ def assert_line_num(expected)

def assert_line_text(expected)
@queue.push(Proc.new {
assert_block do
@internal_info['backlog'].each do |line|
line.include? expected
end
end
assert_match(expected, @internal_info['backlog'].join)
})
end

Expand Down

0 comments on commit 518ba5b

Please sign in to comment.