Sha256: a837174fc3c9db38d0a92f9c28fc14daefc63abf0093079a606e5c1573e8c6fe
Contents?: true
Size: 781 Bytes
Versions: 1
Compression:
Stored size: 781 Bytes
Contents
require 'jldrill/contexts/ModifyVocabularyContext' module JLDrill::Test class VocabularyView < JLDrill::ModifyVocabularyContext::VocabularyView attr_reader :destroyed, :searchUpdated, :vocabularyCleared attr_writer :destroyed, :searchUpdated, :vocabularyCleared def initialize(context, name) super(context, name) @destroyed = false @searchUpdated = false @vocabularyCleared = false end def destroy @destroyed = true end def updateSearch @searchUpdated = true end def getVocabulary # Not sure how to test this yet end def clearVocabulary @vocabularyCleared = true end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jldrill-0.5.1.7 | lib/jldrill/views/test/VocabularyView.rb |