Skip to content

Instantly share code, notes, and snippets.

View danilolic's full-sized avatar

Danilo de Lima danilolic

  • Brazil
View GitHub Profile
@danilolic
danilolic / matchers_rspec.rb
Created December 17, 2018 13:03 — 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)