title: Rails unexpected token tCOMMA
body: <p>I created this object in RSpec. I am getting the error <code>unexpected token tCOMMA</code> at second <code>},</code> Any idea why i am getting this error?</p>
  
  <pre><code>   let(:test) {
       { abc:
         [{ bde:
           { attribute1: 170.0,
             attribute2: '2016-12-14',
             attribute3: 'self entered',
             attribute4: 'high',
             attribute5:
               { attribute6: 'low',
                 attribute7: false,
                 attribute8: nil,
                 attribute9: 129,
                 attribute0: 'mg/dL'},
               { attribute11: 'moderate',
                 attribute12: false,
                 attribute13: 130,
                 attribute14: 159,
                 attribute15: 'mg/dL' }, # getting error unexpected token tCOMMA
               { attribute16: 'high',
                 attribute17: true,
                 attribute18: 160,
                 attribute19: nil,
                 attribute20: 'mg/dL' }
           }
         }]
       }}
  </code></pre>