mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-09 07:28:41 -07:00
add changes to duration for short form items
This commit is contained in:
parent
1e3cebf223
commit
d031179dc0
1 changed files with 2 additions and 2 deletions
|
|
@ -80,7 +80,8 @@ RSpec.describe SurveyItemValues, type: :model do
|
|||
end
|
||||
(survey_item_ids << common_headers).flatten
|
||||
end
|
||||
context '.response_date' do
|
||||
|
||||
context '.recorded_date' do
|
||||
it 'returns the recorded date' do
|
||||
row = { 'RecordedDate' => '2017-01-01' }
|
||||
values = SurveyItemValues.new(row:, headers:, genders:, survey_items:, schools:)
|
||||
|
|
@ -160,7 +161,6 @@ RSpec.describe SurveyItemValues, type: :model do
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
context '.valid_duration' do
|
||||
context 'when duration is valid' do
|
||||
it 'returns true' do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue