test/system/rack_tests.rb in dassets-0.7.0 vs test/system/rack_tests.rb in dassets-0.8.0

- old
+ new

@@ -1,10 +1,12 @@ require 'assert' +require 'dassets' + require 'assert-rack-test' require 'fileutils' -require 'test/support/app' require 'dassets/server' +require 'test/support/app' module Dassets class RackTests < Assert::Context include Assert::Rack::Test @@ -44,10 +46,10 @@ @url = 'file1-daa05c683a4913b268653f7a7e36a5b4.txt' @url_file = Dassets.config.file_store.store_path(@url) FileUtils.rm(@url_file) end teardown do - Dassets.config.file_store = NullFileStore.new + Dassets.config.file_store = FileStore::NullStore.new end should "digest the asset" do assert_not_file_exists @url_file