This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"spec_version" : 1, | |
"identifier" : "B9", | |
"$kref" : "#/ckan/kerbalstuff/132", | |
"license" : "CC-BY-NC-SA-3.0", | |
"depends" : [ | |
{ "name" : "CrossFeedEnabler" }, | |
{ "name" : "FirespitterCore" }, | |
{ "name" : "KineTechAnimation" }, | |
{ "name" : "KlockheedMartian-Gimbal" }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def has_selector?(*args) | |
options = if args.last.is_a?(Hash) then args.last else {} end | |
wait_conditionally_until do | |
results = all(*args) | |
if results.empty? | |
false | |
else | |
case | |
when options[:between] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[main.d] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> ruby test.rb | |
Loaded suite test | |
Started | |
F | |
Finished in 0.004835 seconds. | |
1) Failure: | |
test_foo(FooTest) | |
[test.rb:13:in `assert_foo' | |
test.rb:7:in `test_foo']: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> ruby test.rb | |
Loaded suite test | |
FooTest | |
test_foo FAIL | |
test.rb:13:in `assert_foo' | |
foo failed. | |
<true> expected but was | |
<false>. | |
============================================================================== | |
pass: 0, fail: 1, error: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'test/unit' | |
require 'turn' | |
class FooTest < Test::Unit::TestCase | |
def test_foo | |
assert_foo false | |
end | |
private |