Skip to content

Commit

Permalink
updated AnswerHelper test to reflect date format change
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahcrack committed Nov 26, 2024
1 parent c7074af commit fe3a1ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/helpers/answer_helper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

it "correctly formats a date" do
answer = Date.new(2011, 1, 24)
expect(helper.format_answer(answer)).to eq("<span>24 01 2011</span>")
expect(helper.format_answer(answer)).to eq("<span>24 January 2011</span>")
end

it "correctly formats a time" do
Expand Down

0 comments on commit fe3a1ab

Please sign in to comment.