Skip haml-up spec with newer versions

This commit is contained in:
Maikel Linke
2024-02-19 12:00:05 +11:00
parent 7a767ab037
commit 2cf8a6dcb9

View File

@@ -3,7 +3,7 @@
require 'spec_helper'
require 'haml_up'
describe HamlUp do
describe HamlUp, skip: !Gem::Dependency.new("", "~> 5.2").match?("", Haml::VERSION) do
describe "#rewrite_template" do
it "preserves a simple template" do
original = "%p This is a paragraph"