Skip to content

Commit

Permalink
[ci] Fix test for ProjectLogRotateJob
Browse files Browse the repository at this point in the history
Adapt the test for the new code.
  • Loading branch information
Ana06 committed Dec 11, 2017
1 parent fe1198a commit d43724a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/api/spec/jobs/project_log_rotate_job_spec.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
require 'rails_helper'

RSpec.describe ProjectLogRotateJob, type: :job do
include ActiveJob::TestHelper

describe '#perform' do
let!(:user1) { create(:confirmed_user) }
let!(:user2) { create(:confirmed_user) }
Expand All @@ -19,8 +17,6 @@
end
end

subject! { ProjectLogRotateJob.new.perform }

it 'creates a ProjectLogEntry' do
expect(ProjectLogEntry.count).to eq(10)
end
Expand Down

0 comments on commit d43724a

Please sign in to comment.