spec/rapgenius/line_spec.rb in rapgenius-1.0.3 vs spec/rapgenius/line_spec.rb in rapgenius-1.0.4
- old
+ new
@@ -1,13 +1,13 @@
require 'spec_helper'
module RapGenius
describe Line, vcr: { cassette_name: "line-2638695" } do
- let(:line) { described_class.find(2638695) }
+ let(:line) { described_class.find("2638695") }
subject { line }
- its(:id) { should eq 2638695 }
+ its(:id) { should eq "2638695" }
its(:song) { should be_a Song }
its(:lyric) { should eq "Versace, Versace, Medusa head on me like I'm 'luminati" }
its("explanations.first") { should include "Versace’s logo is the head of Medusa" }
its(:explanations) { should eq line.annotations }