Use modern RSpec in discid specs
This commit is contained in:
parent
33e280ec2c
commit
32ed4ba4bc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue