Revision 31bdcdbc764ddc63dee6a1a6290f00a46167fe8e authored by jekyllbot on 21 March 2018, 23:10:07 UTC, committed by jekyllbot on 21 March 2018, 23:10:07 UTC
1 parent 33f59ae
test_site_drop.rb
# frozen_string_literal: true
require "helper"
class TestSiteDrop < JekyllUnitTest
context "a site drop" do
setup do
@site = fixture_site({
"collections" => ["thanksgiving"],
})
@site.process
@drop = @site.to_liquid.site
end
should "respond to `key?`" do
assert @drop.respond_to?(:key?)
end
should "find a key if it's in the collection of the drop" do
assert @drop.key?("thanksgiving")
end
end
end
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...