diff options
author | Sebastian Ludwig <sebastian@lurado.de> | 2016-03-27 00:24:27 +0300 |
---|---|---|
committer | Sebastian Ludwig <sebastian@lurado.de> | 2016-03-31 23:36:06 +0300 |
commit | 594fbfddcc0476e4f725b7b48f12e412d4fedec4 (patch) | |
tree | 91708f2871f40d3becf3da81b77de6da6a9199f3 /test/test_consume_loc_drop.rb | |
parent | 043836e84f7b8233c50c585a4043e08ce04abc43 (diff) |
Renamed StringsFile to TwineFile, StringsSection to TwineSection and StringsRow to TwineDefinition.
Diffstat (limited to 'test/test_consume_loc_drop.rb')
-rw-r--r-- | test/test_consume_loc_drop.rb | 6 |
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 |