replace old tests for border margins with no impelemntations
MODIFY
test/primer/classify_test.rb
test/primer/classify_test.rb
@@ -18,12 +18,12 @@ class PrimerClassifyTest < Minitest::Test
assert_generated_class("f6", { font_size: 6 })
end
- def test_border_margins
- assert_generated_class("border-top-0", { border_top: 0 })
- assert_generated_class("border-bottom-0", { border_bottom: 0 })
- assert_generated_class("border-left-0", { border_left: 0 })
- assert_generated_class("border-right-0", { border_right: 0 })
- end
+ # def test_border_margins
+ # assert_generated_class("border-top-0", { border_top: 0 })
+ # assert_generated_class("border-bottom-0", { border_bottom: 0 })
+ # assert_generated_class("border-left-0", { border_left: 0 })
+ # assert_generated_class("border-right-0", { border_right: 0 })
+ # end
def test_m
assert_generated_class("m-4", { m: 4 })
@@ -179,6 +179,10 @@ class PrimerClassifyTest < Minitest::Test
assert_generated_class("border-bottom", { border: :bottom })
assert_generated_class("border-right", { border: :right })
assert_generated_class("border-y", { border: :y })
+ assert_generated_class("border-top-0", { border: :top_0 })
+ assert_generated_class("border-bottom-0", { border: :bottom_0 })
+ assert_generated_class("border-left-0", { border: :left_0 })
+ assert_generated_class("border-right-0", { border: :right_0 })
end
def test_border_color

replace old tests for border margins with no impelemntations