Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/twine.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_consume_loc_drop.rb')
-rw-r--r--test/test_consume_loc_drop.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_consume_loc_drop.rb b/test/test_consume_loc_drop.rb
index deab5c0..cfc6d18 100644
--- a/test/test_consume_loc_drop.rb
+++ b/test/test_consume_loc_drop.rb
@@ -11,7 +11,7 @@ class TestConsumeLocDrop < CommandTestCase
@twine_file = build_twine_file 'en', 'es' do
add_section 'Section' do
- add_row key1: 'value1'
+ add_definition key1: 'value1'
end
end
@@ -21,7 +21,7 @@ class TestConsumeLocDrop < CommandTestCase
def test_consumes_zip_file
@runner.consume_loc_drop
- assert @twine_file.strings_map['key1'].translations['en'], 'value1-english'
- assert @twine_file.strings_map['key1'].translations['es'], 'value1-spanish'
+ assert @twine_file.definitions_by_key['key1'].translations['en'], 'value1-english'
+ assert @twine_file.definitions_by_key['key1'].translations['es'], 'value1-spanish'
end
end