tracks/ruby/test/generator/template_values_test.rb in trackler-2.1.0.7 vs tracks/ruby/test/generator/template_values_test.rb in trackler-2.1.0.8
- old
+ new
@@ -55,10 +55,11 @@
end
def canonical_data
mock_canonical_data = Minitest::Mock.new
mock_canonical_data.expect :abbreviated_commit_hash, nil
+ mock_canonical_data.expect :version, '1.2.3'
mock_canonical_data.expect :to_s, '{"cases":[]}'
mock_canonical_data
end
def paths
@@ -80,9 +81,10 @@
end
def canonical_data
mock_canonical_data = Minitest::Mock.new
mock_canonical_data.expect :abbreviated_commit_hash, nil
+ mock_canonical_data.expect :version, '1.2.3'
mock_canonical_data.expect :to_s, '{"cases":[]}'
mock_canonical_data
end
def paths