From 515e644423998a94f07be06bf6460bcf4f96f968 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Fri, 8 Apr 2016 13:05:52 +0200 Subject: enm import test --- test/nanoparticles.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/nanoparticles.rb (limited to 'test') diff --git a/test/nanoparticles.rb b/test/nanoparticles.rb new file mode 100644 index 0000000..4fc04ff --- /dev/null +++ b/test/nanoparticles.rb @@ -0,0 +1,12 @@ +require_relative "setup.rb" + +class NanoparticleTest < MiniTest::Test + + MODENA = File.join DATA_DIR,"MODENA-EC50_EC25.csv" + + def test_import + Import::Enanomapper.import + assert_operator Nanoparticle.count , :>, 570, "Only #{Nanoparticle.count} nanoparticles imported" + end + +end -- cgit v1.2.3