Sha256: c1e69137cf966c6fa636552a3856732895152df6c0429f019858a2858d08453a

Contents?: true

Size: 380 Bytes

Versions: 10

Compression:

Stored size: 380 Bytes

Contents

# frozen_string_literal: true
require 'test_helper'

module Shipit
  class RefreshGithubUserJobTest < ActiveSupport::TestCase
    setup do
      @user = shipit_users(:walrus)
      @job = RefreshGithubUserJob.new
    end

    test "#perform call #refresh_from_github! on the provided user" do
      @user.expects(:refresh_from_github!)
      @job.perform(@user)
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
shipit-engine-0.39.0 test/jobs/refresh_github_user_job_test.rb
shipit-engine-0.38.0 test/jobs/refresh_github_user_job_test.rb
shipit-engine-0.37.0 test/jobs/refresh_github_user_job_test.rb
shipit-engine-0.36.1 test/jobs/refresh_github_user_job_test.rb
shipit-engine-0.36.0 test/jobs/refresh_github_user_job_test.rb
shipit-engine-0.35.1 test/jobs/refresh_github_user_job_test.rb
shipit-engine-0.35.0 test/jobs/refresh_github_user_job_test.rb
shipit-engine-0.34.0 test/jobs/refresh_github_user_job_test.rb
shipit-engine-0.33.0 test/jobs/refresh_github_user_job_test.rb
shipit-engine-0.32.0 test/jobs/refresh_github_user_job_test.rb