Sha256: c770b82d55d6d6609fe67ee75ff8db34a5de31f033041de5cec94c878762b433
Contents?: true
Size: 704 Bytes
Versions: 1
Compression:
Stored size: 704 Bytes
Contents
require 'jldrill/spec/StoryMemento' require 'jldrill/spec/SampleQuiz' require 'jldrill/model/Quiz/Strategy' require 'jldrill/model/Quiz/Schedule' require 'jldrill/model/Quiz/Statistics' module JLDrill::KeepsStatistics Story = JLDrill::StoryMemento.new("JLDrill Keeps Statistics Story") def Story.setup(type) super(type) @sample = JLDrill::SampleQuiz.new @mainContext.quiz = @sample.resetQuiz end describe Story.stepName("Measures the amount of time to learn an item") do before(:each) do Story.setup(JLDrill) Story.start quiz.options.promoteThresh = 1 newSet.length.should_not eql(0) newSet[0].should_not be_nil end after(:each) do Story.shutdown end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jldrill-0.5.1.7 | spec/jldrill/stories/KeepsStatistics_story.rb |