Monday, July 21, 2014

RSpec 3 matcher equivalent to =~

contain_exactly

Example:
  expect([1,2]).to contain_exactly(2,1)

Credit: match_array matcher now available as contain_exactly

No comments:

Config number of file descriptors on Linux

Check file descriptor limit for a process. Vary depending on owner of the process $ cat /proc/{process-id}/limits Check current number of...