mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 04:38:47 +08:00
fix most deprecations in the specs (still some left)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user