Sha256: b6574d5e1686e62b27cacf72003f2ec470da86cc019b46fc93787c0dedb910a0

Contents?: true

Size: 264 Bytes

Versions: 12

Compression:

Stored size: 264 Bytes

Contents

require 'surrogate/rspec/verb_matcher'

class Surrogate
  module RSpec
    class InitializationMatcher < VerbMatcher
      def initialize(*initialization_args, &block)
        super :initialize
        with *initialization_args, &block
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
surrogate-0.8.1 lib/surrogate/rspec/initialization_matcher.rb
surrogate-0.8.0 lib/surrogate/rspec/initialization_matcher.rb
surrogate-0.7.0 lib/surrogate/rspec/initialization_matcher.rb
surrogate-0.6.5 lib/surrogate/rspec/initialization_matcher.rb
surrogate-0.6.4 lib/surrogate/rspec/initialization_matcher.rb
surrogate-0.6.3 lib/surrogate/rspec/initialization_matcher.rb
surrogate-0.6.2 lib/surrogate/rspec/initialization_matcher.rb
surrogate-0.6.1 lib/surrogate/rspec/initialization_matcher.rb
surrogate-0.6.0 lib/surrogate/rspec/initialization_matcher.rb
surrogate-0.5.5 lib/surrogate/rspec/initialization_matcher.rb
surrogate-0.5.4 lib/surrogate/rspec/initialization_matcher.rb
surrogate-0.5.3 lib/surrogate/rspec/initialization_matcher.rb