class GunitRails::StemCore
This class implements the functions necessary for running gunit_rails functions during rspec testing.
Public Instance Methods
build_stem_scenario(stem_function, *args, &expectation)
click to toggle source
# File lib/gunit_rails/stem_core.rb, line 10 def build_stem_scenario(stem_function, *args, &expectation) # collect inputs from current scope # for each arg do # call stem_function to permute dev's data and execute &expectations # end # hope they all pass.... end
it_failed(docstr, *args, &block)
click to toggle source
# File lib/gunit_rails/stem_core.rb, line 7 def it_failed(docstr, *args, &block) end
it_passed(docstr, *args, &block)
click to toggle source
# File lib/gunit_rails/stem_core.rb, line 4 def it_passed(docstr, *args, &block) end