mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 13:41:16 +08:00
fix most deprecations in the specs (still some left)
This commit is contained in:
@ -16,7 +16,7 @@ describe DraftController do
|
||||
user = log_in
|
||||
Draft.set(user, 'xxx', 0, 'hi')
|
||||
delete :destroy, draft_key: 'xxx', sequence: 0
|
||||
Draft.get(user, 'xxx', 0).should be_nil
|
||||
Draft.get(user, 'xxx', 0).should == nil
|
||||
end
|
||||
|
||||
end
|
||||
|
Reference in New Issue
Block a user