Silence CSS logging in development - it's way too noisy

This commit is contained in:
Robin Ward
2017-08-16 10:59:38 -04:00
parent c68999e128
commit b78958fbfc
3 changed files with 13 additions and 3 deletions

View File

@ -15,10 +15,10 @@ describe StylesheetCache do
end
it "does nothing if digest is set and already exists" do
StylesheetCache.destroy_all
StylesheetCache.delete_all
StylesheetCache.add("a", "b", "c", "map")
StylesheetCache.add("a", "b", "cc", "map")
expect(StylesheetCache.add("a", "b", "c", "map")).to be_present
expect(StylesheetCache.add("a", "b", "cc", "map")).to eq(false)
expect(StylesheetCache.count).to eq 1
expect(StylesheetCache.first.content).to eq "c"