Skip to content

Commit f5cdcc8

Browse files
author
Ryan Florence
committed
Updated spec for issue #5112, codecogs images
Change-Id: Id50049594bf626077b63b10ea8c8ddfe104fd894 Reviewed-on: https://gerrit.instructure.com/5868 Reviewed-by: Ryan Shaw <ryan@instructure.com> Tested-by: Hudson <hudson@instructure.com>
1 parent 02e4132 commit f5cdcc8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/selenium/equation_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def save_question_and_wait(question)
3535
equation_editor = find_with_jquery("#instructure_equation_prompt:visible")
3636
equation_editor.find_element(:css, 'button').click
3737
question.find_element(:link, "Switch Views").click
38-
question.find_element(:css, 'textarea.question_content').attribute(:value).should include('<img class="equation_image" title="1+1" src="http://latex.codecogs.com/gif.latex?1+1" alt="1+1" />')
38+
question.find_element(:css, 'textarea.question_content').attribute(:value).should include('<img class="equation_image" title="1+1" src="/equation_images/1%2B1" alt="1+1" />')
3939
save_question_and_wait(question)
4040

4141
question.find_elements(:css, 'img.equation_image').size.should == 1

0 commit comments

Comments
 (0)