# encoding: utf-8 require 'spec_helper' require 'spec_config_helper' describe ClassyAssets::Sprockets do before do asset_root = ClassyAssets.config.asset_root asset_prefix = ClassyAssets.config.asset_prefix @asset_paths = Dir.glob(File.join(asset_root, asset_prefix, '*')) @sprockets = ClassyAssets.sprockets end it "returns the sprockets environment" do @sprockets.must_be_kind_of Sprockets::Environment end it "returns the correct asset paths" do @sprockets.paths.must_equal @asset_paths end end