Skip to content

Allow passing of properties to the phraseapp API that are allowed #39

Allow passing of properties to the phraseapp API that are allowed

Allow passing of properties to the phraseapp API that are allowed #39

GitHub Actions / Rspec Tests - 3.1 succeeded Sep 24, 2024 in 1s

45 passed, 0 failed and 0 skipped

Tests passed successfully

✅ test_results/rspec.xml

45 tests were completed in 15ms with 45 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
rspec 45✅ 15ms

✅ rspec

spec.phraseapp_updater.differ_spec
  ✅ PhraseAppUpdater::Differ resolve! empty base resolves non-conflicing additions
  ✅ PhraseAppUpdater::Differ resolve! empty base resolves a change on a shallow key by taking the primary side
  ✅ PhraseAppUpdater::Differ resolve! empty base resolves non-conflicting changes to a nested key
  ✅ PhraseAppUpdater::Differ resolve! shallow base resolves non-conflicing additions
  ✅ PhraseAppUpdater::Differ resolve! shallow base resolves a change on a shallow key by taking the primary side
  ✅ PhraseAppUpdater::Differ resolve! shallow base resolves change in type in secondary
  ✅ PhraseAppUpdater::Differ resolve! shallow base resolves change in type in primary
  ✅ PhraseAppUpdater::Differ resolve! shallow base handles hash addition overriding terminal addition
  ✅ PhraseAppUpdater::Differ resolve! shallow base handles terminal addition overriding hash addition
  ✅ PhraseAppUpdater::Differ resolve! shallow base shallow deletion on a resolves to the deletion when b makes a shallow change
  ✅ PhraseAppUpdater::Differ resolve! shallow base shallow deletion on a resolves to the deletion when b also deletes it
  ✅ PhraseAppUpdater::Differ resolve! shallow base shallow deletion on a resolves to the deletion when b makes it a nested key
  ✅ PhraseAppUpdater::Differ resolve! shallow base shallow deletion on a resolves to the deletion when b makes it a multi-nested key
  ✅ PhraseAppUpdater::Differ resolve! nested_base handles changing hash to terminal overriding editing a hash
  ✅ PhraseAppUpdater::Differ resolve! nested_base handles mutating a hash overriding changing a terminal
  ✅ PhraseAppUpdater::Differ resolve! nested_base handles mutating a child of a hash overriding changing parent to a terminal
  ✅ PhraseAppUpdater::Differ resolve! nested_base handles deleting a child overriding editing a hash
  ✅ PhraseAppUpdater::Differ resolve! nested_base handles deleting a child overriding editing a hash
  ✅ PhraseAppUpdater::Differ resolve! nested_base handles mututally adding to a nested key
  ✅ PhraseAppUpdater::Differ resolve! nested_base handles adding a nested key against making the parent a terminal
  ✅ PhraseAppUpdater::Differ resolve! nested_base handles adding a nested key as a terminal against adding it as a hash
  ✅ PhraseAppUpdater::Differ resolve! nested_base handles concurrent editing of a nested terminal
  ✅ PhraseAppUpdater::Differ resolve! nested_base handles editing a nested terminal versus deletion
  ✅ PhraseAppUpdater::Differ resolve! nested_base handles editing a nested terminal versus deletion of the parent
  ✅ PhraseAppUpdater::Differ restore_deletions takes the current side when there are no deletions
  ✅ PhraseAppUpdater::Differ restore_deletions restores a shallow deletion
  ✅ PhraseAppUpdater::Differ restore_deletions takes the current side with a deep change
  ✅ PhraseAppUpdater::Differ restore_deletions restores a nested deletion
spec.phraseapp_updater.locale_file.json_file_spec
  ✅ PhraseAppUpdater::LocaleFile::JSONFile returns its locale name
  ✅ PhraseAppUpdater::LocaleFile::JSONFile returns its filename
  ✅ PhraseAppUpdater::LocaleFile::JSONFile parses proper JSON
  ✅ PhraseAppUpdater::LocaleFile::JSONFile exposes its content
  ✅ PhraseAppUpdater::LocaleFile::JSONFile returns an error when passed bad JSON
  ✅ PhraseAppUpdater::LocaleFile::JSONFile returns a string representation
  ✅ PhraseAppUpdater::LocaleFile::JSONFile can be initialized from a hash
spec.phraseapp_updater.locale_file.yaml_file_spec
  ✅ PhraseAppUpdater::LocaleFile::YAMLFile returns its locale_name
  ✅ PhraseAppUpdater::LocaleFile::YAMLFile returns its filename
  ✅ PhraseAppUpdater::LocaleFile::YAMLFile parses proper YAML
  ✅ PhraseAppUpdater::LocaleFile::YAMLFile exposes its content
  ✅ PhraseAppUpdater::LocaleFile::YAMLFile returns an error when passed bad YAML
  ✅ PhraseAppUpdater::LocaleFile::YAMLFile returns a string representation
  ✅ PhraseAppUpdater::LocaleFile::YAMLFile can be initialized from a hash
spec.phraseapp_updater.locale_file_spec
  ✅ PhraseAppUpdater::LocaleFile returns the right class for each extension
  ✅ PhraseAppUpdater::LocaleFile raises an error on unknown extensions
spec.phraseapp_updater_spec
  ✅ PhraseAppUpdater has a version number