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

@ -3,7 +3,7 @@ require "spec_helper"
describe Admin::BackupsController do
it "is a subclass of AdminController" do
(Admin::BackupsController < Admin::AdminController).should be_true
(Admin::BackupsController < Admin::AdminController).should == true
end
let(:backup_filename) { "2014-02-10-065935.tar.gz" }
@ -81,7 +81,7 @@ describe Admin::BackupsController do
# response.should be_success
# json = JSON.parse(response.body)
# json["message"].should_not be_nil
# json["message"].should_not == nil
# end
end