Update specs to new rspec syntax

This commit is contained in:
Thibault Jouan
2014-04-01 18:15:44 +00:00
parent 99d106cf36
commit 4cef7aeab9
32 changed files with 173 additions and 179 deletions

View File

@@ -16,7 +16,7 @@ feature 'API playlists' do
json = JSON response.body
json['id'].should be_a Fixnum
json['name'].should == playlist[:name]
expect(json['id']).to be_a Fixnum
expect(json['name']).to eq playlist[:name]
end
end