spec/matchers/collection_contain_matcher.rb in remarkable-3.0.4 vs spec/matchers/collection_contain_matcher.rb in remarkable-3.0.5
- old
+ new
@@ -2,10 +2,10 @@
module Specs
module Matchers
class CollectionContainMatcher < Remarkable::Base
arguments :collection => :values, :as => :value
- optional :working
+ optional :working, :allow_nil
default_options :working => true
assertion :is_array? do
@subject.is_a?(Array)
end