spec/asset_spec.rb in trackman-0.5.4 vs spec/asset_spec.rb in trackman-0.5.5
- old
+ new
@@ -2,10 +2,10 @@
require 'digest/md5'
describe Trackman::Assets::Asset do
it "should raise an exception if the path is not good" do
wrong_path = "./wrong_path.html"
- lambda { Asset.new(:path => wrong_path) }.should raise_error Trackman::Assets::Errors::AssetNotFoundError
+ lambda { Asset.new(:path => wrong_path) }.should raise_error Trackman::Errors::AssetNotFoundError
end
it "is equal if the path is the same" do
path = "./spec/spec_helper.rb"
\ No newline at end of file