mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:21:18 +08:00
fix most deprecations in the specs (still some left)
This commit is contained in:
@ -123,11 +123,11 @@ describe Plugin::Instance do
|
||||
# calls ensure_assets! make sure they are there
|
||||
plugin.assets.count.should == 1
|
||||
plugin.assets.each do |a, opts|
|
||||
File.exists?(a).should be_true
|
||||
File.exists?(a).should == true
|
||||
end
|
||||
|
||||
# ensure it cleans up all crap in autogenerated directory
|
||||
File.exists?(junk_file).should be_false
|
||||
File.exists?(junk_file).should == false
|
||||
end
|
||||
|
||||
it "finds all the custom assets" do
|
||||
|
Reference in New Issue
Block a user