Mercurial > hg > soundsoftware-site
comparison .svn/pristine/78/784c9b0d2d8855db8c97b7e039fb2ee4a682fc0e.svn-base @ 909:cbb26bc654de redmine-1.3
Update to Redmine 1.3-stable branch (Redmine SVN rev 8964)
author | Chris Cannam |
---|---|
date | Fri, 24 Feb 2012 19:09:32 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
908:c6c2cbd0afee | 909:cbb26bc654de |
---|---|
1 require File.dirname(__FILE__) + '/../test_helper' | |
2 | |
3 class TestingTest < Test::Unit::TestCase | |
4 def setup | |
5 Engines::Testing.set_fixture_path | |
6 @filename = File.join(Engines::Testing.temporary_fixtures_directory, 'testing_fixtures.yml') | |
7 File.delete(@filename) if File.exists?(@filename) | |
8 end | |
9 | |
10 def teardown | |
11 File.delete(@filename) if File.exists?(@filename) | |
12 end | |
13 | |
14 def test_should_copy_fixtures_files_to_tmp_directory | |
15 assert !File.exists?(@filename) | |
16 Engines::Testing.setup_plugin_fixtures | |
17 assert File.exists?(@filename) | |
18 end | |
19 end |