class GunitRails::GenericStem

HERE there should exist a convention - all Stems will list macro constants at the top of every class

Constants

TABLE_SIZE

Public Instance Methods

generic_stem_function(input) { |context, input| ... } click to toggle source
# File lib/gunit_rails/stem.rb, line 10
def generic_stem_function(input)
  # the goal of these functions is to remove the need for rspec context
  #
  # e.g.
  # context "with a name passed to the constructor" do
  context = self.clone # or get info from environment somehow
  yield context, input
end