Commit 9d4d8338f657cfa21e88d87a1e683bdd804d412f

Authored by Rodrigo Siqueira
1 parent cd3edc92

environment_notification: Fix selenium test

Signed-off-by: Alexandre Barbosa <alexandreab@live.com>
Signed-off-by: Rodrigo Siqueira <siqueira@kuniri.org>
Signed-off-by: Daniela Soares Feitosa <danielafeitosa@colivre.coop.br>
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
features/step_definitions/tiny_mce_steps.rb
1 Then /^The tinymce "(.+)" should be "(.+)"$/ do |item, content| 1 Then /^The tinymce "(.+)" should be "(.+)"$/ do |item, content|
2 item_value = page.evaluate_script("tinyMCE.activeEditor.getParam('#{item}');") 2 item_value = page.evaluate_script("tinyMCE.activeEditor.getParam('#{item}');")
3 - assert_equal item_value.to_s, content 3 + item_value.to_s.should == content
4 end 4 end
5 5
6 Then /^The tinymce "(.+)" should contain "(.+)"$/ do |item, content| 6 Then /^The tinymce "(.+)" should contain "(.+)"$/ do |item, content|