[Bug 1246974] Review Request: rubygem-shortURL - very simple library to use URL shortening services.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1246974



--- Comment #13 from Vít Ondruch <vondruch@xxxxxxxxxx> ---
(In reply to leinfeva from comment #12)
> Vít I've check the gem and the helper.rb located in test folder use
> 'test/unit' for make the test. then as fedora wiki recommend i've add
> rubygem-test-unit to BuildRequires. and use MiniTest.

Ah sorry, you are right in deed. I was checking the sources available on GH,
where they migrated the test suite to RSpec, while the older version was using
Test::Unit / Minitest.

Nevertheless, you don't execute the test suite actually, since the search
pattern "./test/test_*.rb" does not match any file. This is probably the
command you should be using:

ruby -Ilib:test -e 'Dir.glob "./test/tc_*.rb", &method(:require)'

In this specific case, you could use:

ruby -Ilib:test test/ts_all.rb

instead, but the former is probably a bit better, since it gives you a bit more
control, but it depends ....

> Here is the koji build:
> 
> http://koji.fedoraproject.org/koji/taskinfo?taskID=10663710

Thx.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]