class PrismQA::AppSpectrum

An AppSpectrum defines a set of images used to represent the actual app

Public Instance Methods

allow_image_set(image_set) click to toggle source
# File gem/lib/prism_qa/spectrum.rb, line 55
def allow_image_set(image_set)
  raise ImplementationError, "Got a nil DesignImageSet object; was #{self.class.name} properly extended?" if image_set.nil?

  # Ensure that we are only looking at implementation images
  raise IncompatibilityError, 'Tried to add a DesignImageSet object to AppSpectrum' if image_set.is_a? DesignImageSet
end