Forum: IronRuby platform_is fix needed ?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
91eb330fb36d1e03c856574dfb77d2bc?d=identicon&s=25 Thibaut Barrère (thbar)
on 2009-04-17 22:09
(Received via mailing list)
Hi,

system_spec.rb fails all its tests because the before(:each) calls
platform_is(:windows) without a block, while it appears to require
one.

Can I just fix this specific spec by using platform_is +
platform_is_not instead, or is it better to fix platform_is to allow
calls without blocks ? I'd prefer the former because it sounds
simpler.

what do you think ?

-- Thibaut
This topic is locked and can not be replied to.