Flowdock
method

find

Importance_0
RSpec latest stable (1.3.1) - 0 notes - Class: Spec::Story::StepMother

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (1.1.12) is shown here.

These similar methods exist in 1.3.1:

find(type, unstripped_name) public

No documentation

This method has no description. You can help the RSpec community by adding new notes.

Hide source
# File lib/spec/story/step_mother.rb, line 16
      def find(type, unstripped_name)
        name = unstripped_name.strip
        if @steps.find(type, name).nil?
          @steps.add(type,
          Step.new(name) do
            raise Spec::Example::ExamplePendingError.new("Unimplemented step: #{name}")
          end
          )
        end
        @steps.find(type, name)
      end
Register or log in to add new notes.