fix most deprecations in the specs (still some left)

This commit is contained in:
Régis Hanol
2014-09-25 17:44:48 +02:00
parent dd5872eecb
commit de76b512c1
121 changed files with 859 additions and 856 deletions

View File

@ -24,12 +24,12 @@ describe UserProfile do
let(:user_profile) { Fabricate.build(:user_profile) }
it 'is not valid without user' do
expect(user_profile.valid?).to be_false
expect(user_profile.valid?).should == false
end
it 'is is valid with user' do
user_profile.user = Fabricate.build(:user)
expect(user_profile.valid?).to be_true
expect(user_profile.valid?).should == true
end
it "doesn't support really long bios" do