Package: ruby-mustache / 1.1.2-1

Metadata

Package Version Patches format
ruby-mustache 1.1.2-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
001_fix encoding.patch | (download)

test/helper.rb | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 fix encoding error in test suite with ruby 1.9 and 2.0

003_no_simplecov.patch | (download)

test/helper.rb | 5 0 + 5 - 0 !
1 file changed, 5 deletions(-)

 remove usage of simplecov in tests
004_fix_race_condition_tests.patch | (download)

test/autoloading_test.rb | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 [patch] fix test race condition.

The test suite randomly fails with errors such as:

~~~
  1) Failure:
AutoloadingTest#test_autoload_lowercase [/builddir/build/BUILD/mustache-1.1.1/usr/share/gems/gems/mustache-1.1.1/test/autoloading_test.rb:17]:
Expected: Comments
  Actual: nil
~~~

This happens when `test_namespaced*` test cases are executed earlier
than the remaining test cases, because they are defining
`view_namespace` but not cleaning up afterwards.