test/unit/qme/quality_measure_test.rb in quality-measure-engine-2.2.0 vs test/unit/qme/quality_measure_test.rb in quality-measure-engine-2.3.0

- old
+ new

@@ -1,14 +1,17 @@ require 'test_helper' class QualityMeasureTest < MiniTest::Unit::TestCase + include QME::DatabaseAccess def setup - importer = QME::Bundle::Importer.new - importer.import(File.new('test/fixtures/bundles/just_measure_0002.zip'), true,nil) + + collection_fixtures(get_db(), 'measures') + collection_fixtures(get_db(), 'bundles') + load_system_js end def test_getting_all_measures all_measures = QME::QualityMeasure.all - assert_equal 1, all_measures.size + assert_equal 5, all_measures.size assert all_measures["2E679CD2-3FEC-4A75-A75A-61403E5EFEE8.json"] end end \ No newline at end of file