title: rails rspec - how to check for a model constant?
body: <p>How can I do something like:</p>
  
  <pre><code>it { should have_constant(:FIXED_LIST) }
  </code></pre>
  
  <p>In my model (active record) I have <code>FIXED_LIST = 'A String'</code></p>
  
  <p>It's not a db attribute or a method and I haven't been able to use <code>responds_to</code> or <code>has_attribute</code> to test for it (they fail). What can I use the to check for it. - btw I have the shoulda-matchers installed.</p>