Sha256: 6634173754f9e5f528b8a35e60af43722d0d72fca58b63f416a22e26c2b99548

Contents?: true

Size: 363 Bytes

Versions: 6

Compression:

Stored size: 363 Bytes

Contents

module Rspec
  module PendingFor
    # Error class raised when pending_for is used but no engine or version is specified.
    class EngineOrVersionsRequired < ArgumentError
      def initialize(method_name, *args)
        message = "#{method_name} requires at least an engine or versions to be specified"
        super(message, *args)
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rspec-pending_for-0.1.13 lib/rspec/pending_for/engine_or_versions_required.rb
rspec-pending_for-0.1.12 lib/rspec/pending_for/engine_or_versions_required.rb
rspec-pending_for-0.1.11 lib/rspec/pending_for/engine_or_versions_required.rb
rspec-pending_for-0.1.10 lib/rspec/pending_for/engine_or_versions_required.rb
rspec-pending_for-0.1.9 lib/rspec/pending_for/engine_or_versions_required.rb
rspec-pending_for-0.1.8 lib/rspec/pending_for/engine_or_versions_required.rb