discourse/spec/components/jobs/calculate_view_counts_spec.rb

12 lines
200 B
Ruby
Raw Normal View History

2013-02-05 14:16:51 -05:00
require 'spec_helper'
require 'jobs'
describe Jobs::CalculateViewCounts do
it "delegates to User" do
User.expects(:update_view_counts)
Jobs::CalculateViewCounts.new.execute({})
end
end