Sha256: f9ec09a1f1cc5f56f4c38d1fbe455317a2e4398665db468dde2eb6c1a4c37b06

Contents?: true

Size: 301 Bytes

Versions: 22

Compression:

Stored size: 301 Bytes

Contents

require 'test_helper'

class FetchCommitStatsJobTest < ActiveSupport::TestCase
  setup do
    @commit = commits(:first)
    @job = FetchCommitStatsJob.new
  end

  test "#perform call #fetch_stats! on the provided commit" do
    @commit.expects(:fetch_stats!).once
    @job.perform(@commit)
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
shipit-engine-0.5.2 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.5.1 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.5.0 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.4.10 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.4.9 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.4.8 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.4.7 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.4.6 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.4.5 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.4.4 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.4.3 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.4.2 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.4.1 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.4.0 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.3.1 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.3.0 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.2.3 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.2.2 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.2.1 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.2.0 test/jobs/fetch_commit_stats_job_test.rb