Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
david-yz-liu committed Sep 25, 2024
1 parent 21d4ad5 commit 7ce0cfa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/db/check_repo_permissions_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,10 @@

context 'the due date has not passed' do
it 'should fail' do
expect(grouping.assignment.reload.is_timed).to be_truthy
expect(grouping.assignment.reload.due_date).to be > Time.current
expect(grouping.reload.start_time).to be_nil

expect(script_success?).to be_falsy
end
end
Expand Down

0 comments on commit 7ce0cfa

Please sign in to comment.