spec/spec_helper.rb in distribution-0.7.2 vs spec/spec_helper.rb in distribution-0.7.3

- old
+ new

@@ -24,11 +24,11 @@ # Use the specified formatter config.formatter = :documentation # :progress, :html, :textmate end module ExampleWithGSL - def it_only_with_gsl(name,&block) - it(name) do + def it_only_with_gsl(name,opts={},&block) + it(name, opts) do if Distribution.has_gsl? instance_eval(&block) else skip("Requires GSL") end