Remove `should' usages in specs

This commit is contained in:
Thibault Jouan
2015-04-30 13:43:54 +00:00
parent 1a39db3909
commit d58c9ba0cb
4 changed files with 19 additions and 19 deletions

View File

@@ -2,8 +2,8 @@ describe Playlist do
subject { playlist }
let(:playlist) { FactoryGirl.build(:playlist) }
it { should be_valid }
it { should belong_to :user }
it { should validate_presence_of :user }
it { should validate_presence_of :name }
it { is_expected.to be_valid }
it { is_expected.to belong_to :user }
it { is_expected.to validate_presence_of :user }
it { is_expected.to validate_presence_of :name }
end