Skip to content

Commit

Permalink
Fix resolution of timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverguenther committed Mar 20, 2024
1 parent 289e789 commit 9a6d628
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spec/services/projects/create_service_integration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
.to be_success

new_project.reload
expect(new_project.created_at).to eq(created_at)
expect(new_project.created_at).to be_within(1.second).of created_at
end
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,8 @@
expect(service_result)
.to be_success

expect(new_work_package.created_at).to eq(created_at)
expect(new_work_package.updated_at).to eq(updated_at)
expect(new_work_package.created_at).to be_within(1.second).of(created_at)
expect(new_work_package.updated_at).to be_within(1.second).of(updated_at)
end
end

Expand Down

0 comments on commit 9a6d628

Please sign in to comment.