Sha256: 1635f039c897602c42c5f7816e6b784beae67589a9dec7ff7aa29b11d16c2b78
Contents?: true
Size: 505 Bytes
Versions: 13
Compression:
Stored size: 505 Bytes
Contents
require 'spec_helper' describe Sufia::Download, :type => :model do before do @download = Sufia::Download end it 'has an events metric' do expect(@download.metrics).to be == Legato::ListParameter.new(:metrics, [:totalEvents]) end it 'has dimensions' do expect(@download.dimensions).to be == Legato::ListParameter.new(:dimensions, [:eventCategory, :eventAction, :eventLabel, :date]) end it 'responds to :for_file' do expect(@download).to respond_to(:for_file) end end
Version data entries
13 entries across 13 versions & 1 rubygems