diff --git a/test/models/site_test.rb b/test/models/site_test.rb index c50bfd2..c894932 100644 --- a/test/models/site_test.rb +++ b/test/models/site_test.rb @@ -108,5 +108,10 @@ class SiteTest < ActiveSupport::TestCase assert_equal %w[book editorial post], site.data['layouts'].keys assert_equal %i[book editorial post], site.layouts.to_h.keys + + test 'se pueden encolar una sola vez' do + assert site.enqueue! + assert site.enqueued? + assert_not site.enqueue! end end