SPEC: Check data-email-preview existance on cooked

This commit is contained in:
Vinoth Kannan 2018-10-10 11:50:05 +05:30
parent 45f01e637b
commit 6b7bb543af
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ RSpec.describe "Local Dates" do
'data-timezones="Europe/Paris|America/Los_Angeles"'
)
expect(cooked).to include('data-email-preview="05/09/2018 12:00:00 AM (Europe: Paris)"')
expect(cooked).to include('05/08/2018 10:00:00 PM')
end