Sha256: e5614ca9c538ffb167e3c0db10d16207e38ad57f2cb347dbfd53ea3269d8644e

Contents?: true

Size: 346 Bytes

Versions: 46

Compression:

Stored size: 346 Bytes

Contents

require 'test_helper'

module Shipit
  class FetchCommitStatsJobTest < ActiveSupport::TestCase
    setup do
      @commit = shipit_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
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
shipit-engine-0.31.0 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.30.0 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.29.0 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.28.1 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.28.0 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.27.1 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.27.0 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.26.0 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.25.1 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.25.0 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.24.0 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.23.1 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.23.0 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.22.0 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.21.0 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.20.1 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.20.0 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.19.0 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.18.1 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.18.0 test/jobs/fetch_commit_stats_job_test.rb