-
Notifications
You must be signed in to change notification settings - Fork 57
Conversation
This has been failing some specs, again, so I'm not sure if this is actually ready. I'll double check after the weekend. |
dd412d1
to
0b0babd
Compare
Hopefully resolved the failures by rearranging how we ran our EDIT Woot green build! |
@@ -87,17 +81,14 @@ | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- this is just a marker for myself *
0b0babd
to
3c34bdd
Compare
Ok, I updated the specs from #987 so they should be much cleaner now, hopefully this will still be green. |
expect(query.count).to eq(1) | ||
expect(query.first.start_date).to eq(Time.zone.today) | ||
expect(query.first.due_date).to eq(bad_due_date) | ||
expect(query.first.approval_status).to eq('auto') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will change when #462 is merged in
expect(query.count).to eq(1) | ||
expect(query.first.start_date).to eq(Time.zone.today) | ||
expect(query.first.due_date).to eq(due_date) | ||
expect(query.first.approval_status).to eq('auto') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will change when #462 is merged in
c17d32a
to
f6d6a83
Compare
Ok, this is ready for a re-review; we should also decide if we're going to rework the |
f6d6a83
to
e161e6d
Compare
I updated the |
need to check how we're doing reservation renewal math for showing the renew button |
there should be tests for renewal eligibility |
Resolves #416 - add tests for Reservation actions (creation, equipment handling, renewal) - add tests for Rails Admin routes - resolve issues with renewals and add specs (see #1218) - add numerous helpers for integration tests - misc cleanup of other tests - resolve deprecation warning reintroduced by #1081 - clean up tests from #987 - refactored the for_eq_model Reservation scope not to call .finalized
e161e6d
to
4a06ca1
Compare
Ok, updated! |
Everything seems to work as expected! |
Great, merging! |
[416] Add more integration tests
Resolves #416