spec/matchers/single_contain_matcher.rb in remarkable-3.0.1 vs spec/matchers/single_contain_matcher.rb in remarkable-3.0.2

- old
+ new

@@ -5,12 +5,12 @@ arguments :value, :block => :iterator assertions :is_array?, :included? optional :allow_nil - optional :allow_blank - + optional :allow_blank + after_initialize :set_after_initialize before_assert do @before_assert = true @iterator.call(@subject) if @iterator @@ -32,13 +32,13 @@ false end def default_options { :working => true } - end - - def set_after_initialize - @after_initialize = true + end + + def set_after_initialize + @after_initialize = true end end def single_contain(*args, &block)