Sha256: 22cdfd748b048538b2d2112e156e791f2827da10633e27d88c502ac71e11b44b
Contents?: true
Size: 449 Bytes
Versions: 8
Compression:
Stored size: 449 Bytes
Contents
require 'spec_helper' describe Sufia::Pageview 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
8 entries across 8 versions & 1 rubygems