diff --git a/test/lib/deb_importer_test.rb b/test/lib/deb_importer_test.rb index 3ef598c..a516704 100644 --- a/test/lib/deb_importer_test.rb +++ b/test/lib/deb_importer_test.rb @@ -1,3 +1,5 @@ +$LOAD_PATH << 'lib' + require 'open-uri' # allows to load URLs using open() require 'deb_importer' require 'test_helper' @@ -5,10 +7,11 @@ require 'test_helper' include DebImporter class PackagesHelperTest < ActionView::TestCase -# class PackagesHelperTest < MiniTest::Spec test "should be able to parse local Debian repository test files" do + # How many packages of each component and architecture we expect + # when parsing the text files in lib/tasks/files/... expected_package_counts = { main: { amd64: 8320,