mirror of
https://github.com/nishiki/manage-password.git
synced 2025-02-21 02:10:04 +00:00
unittest: move files
This commit is contained in:
parent
c04fa3af94
commit
cad292b3f9
4 changed files with 3 additions and 3 deletions
|
@ -8,7 +8,7 @@ require 'csv'
|
||||||
class TestMPW < Test::Unit::TestCase
|
class TestMPW < Test::Unit::TestCase
|
||||||
|
|
||||||
def setup
|
def setup
|
||||||
@fixture_file = 'fixtures.yml'
|
@fixture_file = 'files/fixtures.yml'
|
||||||
|
|
||||||
file_gpg = 'test.gpg'
|
file_gpg = 'test.gpg'
|
||||||
key = 'test-mpw@test-mpw.local'
|
key = 'test-mpw@test-mpw.local'
|
||||||
|
@ -28,7 +28,7 @@ class TestMPW < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_import_yaml
|
def test_import_yaml
|
||||||
import_file = 'test_import.yml'
|
import_file = 'files/test_import.yml'
|
||||||
|
|
||||||
assert(@mpw.import(import_file, :yaml))
|
assert(@mpw.import(import_file, :yaml))
|
||||||
assert_equal(2, @mpw.search.length)
|
assert_equal(2, @mpw.search.length)
|
||||||
|
@ -67,7 +67,7 @@ class TestMPW < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_import_csv
|
def test_import_csv
|
||||||
import_file = 'test_import.csv'
|
import_file = 'files/test_import.csv'
|
||||||
|
|
||||||
assert(@mpw.import(import_file, :csv))
|
assert(@mpw.import(import_file, :csv))
|
||||||
assert_equal(2, @mpw.search.length)
|
assert_equal(2, @mpw.search.length)
|
||||||
|
|
Loading…
Add table
Reference in a new issue