Sha256: 259162301e95c80bbe7991c9bffab0c5480849f441aaa10db7f324e2cea6a44f
Contents?: true
Size: 466 Bytes
Versions: 13
Compression:
Stored size: 466 Bytes
Contents
require 'spec_helper' describe Sufia::Pageview, :type => :model do before do @pageview = Sufia::Pageview end it 'has a pageviews metric' do expect(@pageview.metrics).to be == Legato::ListParameter.new(:metrics, [:pageviews]) end it 'has a date dimension' do expect(@pageview.dimensions).to be == Legato::ListParameter.new(:dimensions, [:date]) end it 'responds to :for_path' do expect(@pageview).to respond_to(:for_path) end end
Version data entries
13 entries across 13 versions & 1 rubygems