class Spinach::FeatureSteps
The feature class is the class which all the features must inherit from.
Attributes
assertions[RW]
Public Class Methods
include(*args)
click to toggle source
Exposes the include method publicly so you can add more modules to it due its plastic nature.
@example
Spinach::FeatureSteps.include Capybara::DSL
# File lib/spinach/feature_steps.rb, line 25 def include(*args) include_private(*args) end
Also aliased as: include_private
inherited(base)
click to toggle source
Registers the feature class for later use.
@param [Class] base
The host class.
@api public
# File lib/spinach/feature_steps.rb, line 14 def inherited(base) Spinach.feature_steps << base end
new(*args)
click to toggle source
Calls superclass method
# File lib/spinach/frameworks/minitest.rb, line 9 def initialize(*args) super *args self.assertions = 0 end
Public Instance Methods
after_each()
click to toggle source
# File lib/spinach/feature_steps.rb, line 31 def after_each; end
before_each()
click to toggle source
# File lib/spinach/feature_steps.rb, line 30 def before_each; end