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.7.0 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.6.4 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.6.3 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.6.2 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.6.1 test/jobs/fetch_commit_stats_job_test.rb
shipit-engine-0.6.0 test/jobs/fetch_commit_stats_job_test.rb