Skip to content

Instantly share code, notes, and snippets.

View Libranner's full-sized avatar

Libranner Libranner

View GitHub Profile
@zoras
zoras / gist:7adaf8ea85275ce64097527801116e32
Created May 6, 2016 17:12 — forked from hpjaj/gist:ef5ba70a938a963332d0
RSpec - List of available Expectation Matchers - from Lynda.com course 'RSpec Testing Framework with Ruby'
## From Lynda.com course 'RSpec Testing Framework with Ruby'
describe 'Expectation Matchers' do
describe 'equivalence matchers' do
it 'will match loose equality with #eq' do
a = "2 cats"
b = "2 cats"
expect(a).to eq(b)