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

@ -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