blob: c0c37ed4088eb55a648f827b251798687cbc3c0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
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
|