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:

Clojure how to get JVM options from inside application

(.getInputArguments (java.lang.management.ManagementFactory/getRuntimeMXBean)) Credit:  How to get vm arguments from inside of java applic...