spec: fix calendar2 striketrhough specs in chrome

Test Plan:
- Code Review
- Pass Jenkins

Change-Id: Icbed532969b61f4aef7694c47f65aa4dd186fc49
Reviewed-on: https://gerrit.instructure.com/107994
Tested-by: Jenkins
Reviewed-by: Pedro Fajardo <pfajardo@instructure.com>
Product-Review: Matt Fairbourn <mfairbourn@instructure.com>
QA-Review: Matt Fairbourn <mfairbourn@instructure.com>
This commit is contained in:
MFairbourn 2017-04-10 09:26:55 -06:00 committed by Matt Fairbourn
parent d8ab3ffa26
commit 66c1f72744
1 changed files with 4 additions and 4 deletions

View File

@ -433,7 +433,7 @@ describe "calendar2" do
quick_jump_to_date(date_due.strftime '%Y-%m-%d')
# verify assignment has line-through
expect(find('.fc-title').css_value('text-decoration')).to eql('line-through')
expect(find('.fc-title').css_value('text-decoration')).to include('line-through')
end
it "should strikethrough past due graded discussion", priority: "1", test_id: 518371 do
@ -447,7 +447,7 @@ describe "calendar2" do
quick_jump_to_date(date_due.strftime '%Y-%m-%d')
# verify discussion has line-through
expect(find('.fc-title').css_value('text-decoration')).to eql('line-through')
expect(find('.fc-title').css_value('text-decoration')).to include('line-through')
end
end
end
@ -479,7 +479,7 @@ describe "calendar2" do
quick_jump_to_date(date_due.strftime '%Y-%m-%d')
# verify assignment has line-through
expect(find('.fc-title').css_value('text-decoration')).to eql('line-through')
expect(find('.fc-title').css_value('text-decoration')).to include('line-through')
end
it "should strikethrough completed graded discussion", priority: "1", test_id: 518373 do
@ -502,7 +502,7 @@ describe "calendar2" do
quick_jump_to_date(date_due.strftime '%Y-%m-%d')
# verify discussion has line-through
expect(find('.fc-title').css_value('text-decoration')).to eql('line-through')
expect(find('.fc-title').css_value('text-decoration')).to include('line-through')
end
it "should load events from adjacent months correctly" do