diff --git a/comfortable_mexican_sofa.gemspec b/comfortable_mexican_sofa.gemspec index ed5b06e00..b028c814d 100644 --- a/comfortable_mexican_sofa.gemspec +++ b/comfortable_mexican_sofa.gemspec @@ -10,7 +10,10 @@ Gem::Specification.new do |s| s.summary = "Rails 5.2+ CMS Engine" s.description = "ComfortableMexicanSofa is a powerful Rails 5.2+ CMS Engine" s.license = "MIT" - s.files = `git ls-files`.split("\n") + + s.files = `git ls-files -z`.split("\x0").reject do |f| + f.match(%r{^(test|doc)/}) + end s.required_ruby_version = ">= 2.2.2" diff --git a/test/system/categories_frontend_test.rb b/test/system/categories_frontend_test.rb index 180e98a64..77733bead 100644 --- a/test/system/categories_frontend_test.rb +++ b/test/system/categories_frontend_test.rb @@ -7,7 +7,6 @@ class CategoriesFrontendTest < ApplicationSystemTestCase end def test_category_management - visit_p comfy_admin_cms_site_snippets_path(@site) find("button.toggle-cat-edit").click