tracks/ruby/test/generator/template_values_test.rb in trackler-2.2.1.36 vs tracks/ruby/test/generator/template_values_test.rb in trackler-2.2.1.37
- old
+ new
@@ -24,13 +24,13 @@
expected_exercise_name = 'alpha_beta'
subject = TemplateValues.new(@arguments.merge(exercise_name: expected_exercise_name))
assert_equal expected_exercise_name, subject.exercise_name
end
- def test_exercise_name_camel
- expected_exercise_name_camel = 'AlphaBeta'
+ def test_exercise_test_classname
+ expected = 'AlphaBetaTest'
subject = TemplateValues.new(@arguments.merge(exercise_name: 'alpha_beta'))
- assert_equal expected_exercise_name_camel, subject.exercise_name_camel
+ assert_equal expected, subject.exercise_test_classname
end
def test_test_cases
expected_test_cases = 'should be TemplateValues class'
subject = TemplateValues.new(@arguments.merge(test_cases: expected_test_cases))