Load path added so that Guard can selective run this test
This commit is contained in:
parent
f9279337ed
commit
15d56a5301
1 changed files with 4 additions and 1 deletions
|
|
@ -1,3 +1,5 @@
|
||||||
|
$LOAD_PATH << 'lib'
|
||||||
|
|
||||||
require 'open-uri' # allows to load URLs using open()
|
require 'open-uri' # allows to load URLs using open()
|
||||||
require 'deb_importer'
|
require 'deb_importer'
|
||||||
require 'test_helper'
|
require 'test_helper'
|
||||||
|
|
@ -5,10 +7,11 @@ require 'test_helper'
|
||||||
include DebImporter
|
include DebImporter
|
||||||
|
|
||||||
class PackagesHelperTest < ActionView::TestCase
|
class PackagesHelperTest < ActionView::TestCase
|
||||||
# class PackagesHelperTest < MiniTest::Spec
|
|
||||||
|
|
||||||
test "should be able to parse local Debian repository test files" do
|
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 = {
|
expected_package_counts = {
|
||||||
main: {
|
main: {
|
||||||
amd64: 8320,
|
amd64: 8320,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue