mirror of
https://github.com/projekteuler/projekteuler.git
synced 2026-01-27 02:28:50 +01:00
Add ability to accept or decline translations
This commit is contained in:
@@ -18,6 +18,7 @@ class ProblemTest < ActiveSupport::TestCase
|
||||
problems(:two).set_translation(translations(:translation_two_alternative))
|
||||
assert translations(:translation_two).outdated?
|
||||
assert translations(:translation_two_alternative).in_use?
|
||||
assert_equal translations(:translation_two_alternative), problems(:two).translation
|
||||
end
|
||||
|
||||
test "should have correct original url" do
|
||||
|
||||
Reference in New Issue
Block a user