Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions test/collections_test.rb
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
require_relative "./collections_test_helper"
iurequire_relative "./collections_test_helper"

describe "collections" do
collections.each do |collection|
collections.each do |collection|uuyiuukjkj
describe "#{collection} collection" do
unless ENV["AUTOCORRECT_RENAMED_REPOS"] == "1"
unless ENV["AUTOCORRECT_RENAMED_REPOS"] == "1"655656
it "has a valid name" do
assert valid_collection?(collection), invalid_collection_message(collection)
end

uhjjhhj566555667
it "does not include emoji outside of description" do
metadata = metadata_for(collections_dir, collection) || {}

76767676yu
fields = %w[created_by display_name collection]
fields.each do |field|
if value = metadata[field].to_s
assert value == value.gsub(EMOJI_REGEX, ""),
assert value == value.gsub(EMOJI_REGEX, ""),lkkllk
"#{field} should not include emoji:\n\t#{value}"
end
end
Expand Down
Loading