Mercurial > hg > soundsoftware-site
view vendor/plugins/engines/test/unit/testing_test.rb @ 159:4e485928a26b cannam-pre-20110113-merge
* Simplify table construction, with name and description in the same cell and some layout tidying. Eliminates minor bug that made name and description highlight separately on mouseover.
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Fri, 28 Jan 2011 11:01:43 +0000 |
parents | 513646585e45 |
children |
line wrap: on
line source
require File.dirname(__FILE__) + '/../test_helper' class TestingTest < Test::Unit::TestCase def setup Engines::Testing.set_fixture_path @filename = File.join(Engines::Testing.temporary_fixtures_directory, 'testing_fixtures.yml') File.delete(@filename) if File.exists?(@filename) end def teardown File.delete(@filename) if File.exists?(@filename) end def test_should_copy_fixtures_files_to_tmp_directory assert !File.exists?(@filename) Engines::Testing.setup_plugin_fixtures assert File.exists?(@filename) end end