Sha256: b8563c57b0d7fdda48e11646bef85e7f9f6d146afd26e1496cfd1052fd6db2c1
Contents?: true
Size: 647 Bytes
Versions: 12
Compression:
Stored size: 647 Bytes
Contents
require 'spec_helper' require 'sprockets' describe Firehose::Assets do describe ".path" do it "should have root path" do Firehose::Assets.path('poop').should == File.expand_path('../../../lib/assets/poop', __FILE__) end it "should accept folders" do Firehose::Assets.path('poop').should == File.join(Firehose::Assets.path, 'poop') end end describe "Sprockets.configure" do it "should configure environment" do env = Firehose::Assets::Sprockets.configure Sprockets::Environment.new env.paths.should include(Firehose::Assets.path('flash'), Firehose::Assets.path('javascripts')) end end end
Version data entries
12 entries across 12 versions & 1 rubygems