title: What's the difference between "include_examples" and "it_behaves_like"?
body: <p>In RSpec, what's the difference between <code>it_behaves_like</code> and <code>include_examples</code>?</p>
  
  <p>The <a href="https://www.relishapp.com/rspec/rspec-core/v/2-14/docs/example-groups/shared-examples">documentation</a> says:</p>
  
  <blockquote>
    <p><code>include_examples</code> — include(s) the examples in the current context</p>
    
    <p><code>it_behaves_like "name"</code> — include(s) the examples in a nested context</p>
  </blockquote>
  
  <p>But what does this actually mean? Replacing one with the other doesn't seem to have an effect on whether my tests pass or fail. Is there a reason to prefer one over the other in some situations?</p>
  
  <p>Also, are <code>it_should_behave_like</code> and <code>it_behaves_like</code> just synonyms?</p>