TIL, 2017-03-05
- https://www.youtube.com/watch?v=Lb6AFi36n3M
- Reading
[rspec-expectations](http://rspec.info/documentation/3.5/rspec-expectations/)
– doexpect(actual).to contain_exactly(individual, items)
when comparing array compositions (expect(actual).to match_array(expected_array)
) - The values in
it
in RSpec can be dynamic, something likeit "#{actual_value} should be #{expected_value}
.