Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
describe MyClass do
describe '::my_method' do
it 'does the thing' do
MyClass.expects(:phone_number).once
MyClass.my_method
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment