diff --git a/exercises/acronym/.meta/generator/acronym_case.rb b/exercises/acronym/.meta/generator/acronym_case.rb index e746aeb892..0ad0419376 100644 --- a/exercises/acronym/.meta/generator/acronym_case.rb +++ b/exercises/acronym/.meta/generator/acronym_case.rb @@ -4,19 +4,4 @@ class AcronymCase < Generator::ExerciseCase def workload assert_equal(expected, "Acronym.abbreviate('#{phrase}')") end - - def to_s(*args) - super unless excluded_tests.include?(test_name) - end - - private - - # We exclude these tests because they currently don't fit the purpose - # we have for Acronym on the Ruby track. - def excluded_tests - %w( - test_apostrophes - test_underscore_emphasis - ) - end end diff --git a/exercises/acronym/acronym_test.rb b/exercises/acronym/acronym_test.rb index afdea3107b..44c3512d55 100644 --- a/exercises/acronym/acronym_test.rb +++ b/exercises/acronym/acronym_test.rb @@ -1,7 +1,7 @@ require 'minitest/autorun' require_relative 'acronym' -# Common test data version: 1.7.0 cacf1f1 +# Common test data version: 1.5.0 787d24e class AcronymTest < Minitest::Test def test_basic # skip diff --git a/lib/generator/test_template.erb b/lib/generator/test_template.erb index d7bd7d5ee1..ce536d9e60 100644 --- a/lib/generator/test_template.erb +++ b/lib/generator/test_template.erb @@ -6,5 +6,5 @@ class <%= exercise_test_classname %> < Minitest::Test <%= test_cases.map.with_index do |test_case, index| test_case.to_s(index.zero?) - end.compact.join("\n") + end.join("\n") %>end