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,10 +2,10 @@ describe Sound do
subject { sound }
let(:sound) { FactoryGirl.build(:sound) }
it { should be_valid }
it { should belong_to :track }
it { should validate_presence_of :sha256 }
it { should validate_presence_of :mime_type }
it { is_expected.to be_valid }
it { is_expected.to belong_to :track }
it { is_expected.to validate_presence_of :sha256 }
it { is_expected.to validate_presence_of :mime_type }
describe '#path' do
it 'starts by the path specified in Rails.configuration.sound_path' do