title: rspec error for =~ expect syntax does not support operator matchers
body: <p>getting</p>
  
  <pre><code>The expect syntax does not support operator matchers, 
  so you must pass a matcher to `#to`.
  </code></pre>
  
  <p>For code that was</p>
  
  <pre><code>class_methods.all.should =~ [:bar, :hello]
  </code></pre>
  
  <p>that I wanted to change to</p>
  
  <pre><code>expect(class_methods.all).to =~ [:bar, :hello]
  </code></pre>
  
  <p>I also tried</p>
  
  <pre><code>expect(class_methods.all).to match [:bar, :hello]
  </code></pre>
  
  <p>and</p>
  
  <pre><code>expect(class_methods.all).to match ([:bar, :hello])
  </code></pre>
  
  <p>and</p>
  
  <pre><code>expect(class_methods.all match([:bar, :hello])).to be_true
  # this one gives wrong number of arguments
  </code></pre>