Project

General

Profile

« Previous | Next » 

Revision 9d43fc71

Added by Michael Moll almost 6 years ago

Fixes #19789 - fix Layout/SpaceAroundOperators cop

View differences:

test/unit/csv_exporter_test.rb
test 'return correct amount of lines' do
result = CsvExporter.export(Host::Managed, [:id])
assert_equal "Id\n", result.next
assert_equal result.count, Host::Managed.count+1
assert_equal result.count, Host::Managed.count + 1
assert_difference('CsvExporter.export(Host::Managed, [:id]).count') do
FactoryBot.create(:host)
end

Also available in: Unified diff