Sha256: f2b95a8db70279f2569377fcab76677031f93d0a5d54589a42c420bcc73dc7b2
Contents?: true
Size: 348 Bytes
Versions: 15
Compression:
Stored size: 348 Bytes
Contents
require "spec_helper" describe Que::Web::Viewmodels::Dashboard do let(:dashboard_stats) { { "total" => 10, "running" => 6, "failing" => 2, "scheduled" => 2 } } let(:subject) { Que::Web::Viewmodels::Dashboard.new(dashboard_stats) } it 'passes through values' do subject.scheduled.must_equal 2 end end
Version data entries
15 entries across 15 versions & 1 rubygems