Sha256: 7dd293cbda9537cf0481b1d129026e394ab8ce3f06f4732c59d445510783efb5

Contents?: true

Size: 350 Bytes

Versions: 46

Compression:

Stored size: 350 Bytes

Contents

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

46 entries across 46 versions & 1 rubygems

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