Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Public Body translations in >= 3 locales does not work #60

Closed
garethrees opened this issue Jan 17, 2015 · 2 comments
Closed

Adding Public Body translations in >= 3 locales does not work #60

garethrees opened this issue Jan 17, 2015 · 2 comments
Labels

Comments

@garethrees
Copy link
Member

See failing spec added in https://github.com/mysociety/alaveteli/blob/edit_public_body_multiple_translations_bug/spec/integration/admin_public_body_edit_spec.rb

@garethrees
Copy link
Member Author

Failures:

  1) Editing a Public Body can add a translation for multiple locales
     Failure/Error: @admin.click_button 'Save'
     TypeError:
       expected Hash (got Array) for param `translated_versions'
     # ./spec/integration/admin_public_body_edit_spec.rb:44

Finished in 4.54 seconds
2 examples, 1 failure

Failed examples:

rspec ./spec/integration/admin_public_body_edit_spec.rb:33 # Editing a Public Body can add a translation for multiple locales

Randomized with seed 500

@garethrees
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants