From 15d56a53015b457e28c357845fad784a55a5f66c Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Thu, 23 Apr 2015 23:13:02 +0200 Subject: [PATCH] Load path added so that Guard can selective run this test --- test/lib/deb_importer_test.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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,