Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
RSpec.describe 'Testing' do
it 'is flagged' do
x = []
expect { x.append(1) }.to change(x, :size)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment