Sha256: 0a314da7e0d2eaf4a5e0ff6a1f2426c6baebd876b10df63dbcd48aaa291ae6e7
Contents?: true
Size: 799 Bytes
Versions: 1
Compression:
Stored size: 799 Bytes
Contents
# encoding: utf-8 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.6.0.1 | lib/jldrill/views/test/VocabularyView.rb |