#!/usr/bin/env ruby require 'bundler/setup' require 'test/unit' require 'fileutils' FileUtils.rm_rf('data2/') $config_file='config_test.yaml' DEBUG_LVL=1 require 'QooxView' require 'africompta' Permission.add( 'default', 'View,Welcome' ) Permission.add( 'admin', '.*', '.*' ) Permission.add( 'internet', 'Internet,PersonShow', 'default' ) Permission.add( 'student', '', 'internet' ) Permission.add( 'professor', '', 'student' ) Permission.add( 'secretary', 'PersonModify', 'professor' ) qooxView = QooxView.init( '../Entities', '../Views' ) tests = %w( africompta account movement sqlite ) #tests = %w( africompta ) tests = %w( account ) #tests = %w( merge ) tests.each{|t| require_relative "ac_#{t}" } # Fails test_archive_sum_up