1
0
Fork 0

Use modern RSpec in discid specs

This commit is contained in:
Jason Voegele 2015-03-13 16:00:13 -04:00
parent 33e280ec2c
commit 32ed4ba4bc
1 changed files with 4 additions and 4 deletions

View File

@ -38,9 +38,9 @@ describe MusicBrainz::Release do
it "gets a list of matching releases for a discid" do
releases = MusicBrainz::Release.find_by_discid("pmzhT6ZlFiwSRCdVwV0eqire5_Y-")
releases.length.should == 2
releases.first.id.should == "7a31cd5f-6a57-4fca-a731-c521df1d3b78"
releases.first.title.should == "Kveikur"
releases.first.asin.should == "B00C1GBOU6"
expect(releases.length).to eq 2
expect(releases.first.id).to eq "7a31cd5f-6a57-4fca-a731-c521df1d3b78"
expect(releases.first.title).to eq "Kveikur"
expect(releases.first.asin).to eq "B00C1GBOU6"
end
end