Skip to content

Instantly share code, notes, and snippets.

@smcabrera
Created January 22, 2016 23:08
Show Gist options
  • Select an option

  • Save smcabrera/cdeeba1e43059cfa84cf to your computer and use it in GitHub Desktop.

Select an option

Save smcabrera/cdeeba1e43059cfa84cf to your computer and use it in GitHub Desktop.
describe 'delegates some_method' do
it 'delegates delegated_method to delegated_class' do
this_class.delegated_method
expect(delegated_class).to have_received(:delegated_method)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment