spec/lib/jekyll-assets/neat_spec.rb in jekyll-assets-0.7.9 vs spec/lib/jekyll-assets/neat_spec.rb in jekyll-assets-0.8.0
- old
+ new
@@ -1,8 +1,8 @@
require "spec_helper"
require "jekyll-assets/neat"
-describe "Neat integration" do
- it "should globally append neat paths into Sprockets environment" do
- @site.assets["vendor/neat.css"].to_s.should =~ /max-width/
+RSpec.describe "Neat integration" do
+ it "globally appends neat paths into Sprockets environment" do
+ expect(@site.assets["vendor/with_neat.css"].to_s).to match(/max-width/)
end
end