1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2026-01-27 10:38:50 +01:00

Allow translation content styling through scrubber

This commit is contained in:
2019-02-13 09:10:29 +01:00
parent 318590e1c7
commit 7cfbc3d9f8
8 changed files with 37 additions and 6 deletions

View File

@@ -26,7 +26,7 @@ class ProblemTest < ActiveSupport::TestCase
end
test "should return correct number of translated problems" do
assert_equal 2, Problem.translated_count
assert_equal 3, Problem.translated_count
end
test "should allow for problem count updating" do
@@ -44,7 +44,7 @@ class ProblemTest < ActiveSupport::TestCase
assert_raises ArgumentError do
Problem.update_count(1)
end
assert_equal 3, Problem.count()
assert_equal 4, Problem.count()
assert_equal "First title", Problem.find(1).title
end
end