spec/lib/jekyll-assets/compass_spec.rb in jekyll-assets-0.7.9 vs spec/lib/jekyll-assets/compass_spec.rb in jekyll-assets-0.8.0
- old
+ new
@@ -1,8 +1,9 @@
require "spec_helper"
require "jekyll-assets/compass"
-describe "Compass integration" do
- it "should globally append compass paths into Sprockets environment" do
- @site.assets["vendor/compass.css"].to_s.should =~ /linear-gradient/
+RSpec.describe "Compass integration" do
+ it "globally appends compass paths into Sprockets environment" do
+ expect(@site.assets["vendor/with_compass.css"].to_s)
+ .to match(/linear-gradient/)
end
end