Project

General

Profile

« Previous | Next » 

Revision 630061d2

Added by Michael Moll almost 6 years ago

Fixes #19775 - Fix Layout/ExtraSpacing cop

View differences:

test/models/organization_test.rb
test "update with multi names" do
organization = FactoryBot.create(:organization)
valid_org_name_list.each do |new_name|
organization.name = new_name
organization.name = new_name
assert organization.valid?, "Validation failed for update with valid name: '#{new_name}' length: #{new_name.length})"
assert_equal organization.name, new_name
end

Also available in: Unified diff