diff --git a/app/overrides/admin/enterprises/_form/add_distributor_info.html.haml.deface b/app/overrides/admin/enterprises/_form/add_distributor_info.html.haml.deface deleted file mode 100644 index 83ba814fdb..0000000000 --- a/app/overrides/admin/enterprises/_form/add_distributor_info.html.haml.deface +++ /dev/null @@ -1,4 +0,0 @@ -/ insert_after "[data-hook='long_description']" -%tr{"data-hook" => "distributor_info"} - %td Distributor Info: - %td= f.text_area :distributor_info, :class => 'rich_text' diff --git a/app/overrides/admin/enterprises/_form/rename_extended_description.html.haml.deface b/app/overrides/admin/enterprises/_form/rename_extended_description.html.haml.deface deleted file mode 100644 index 43c4db4b84..0000000000 --- a/app/overrides/admin/enterprises/_form/rename_extended_description.html.haml.deface +++ /dev/null @@ -1,3 +0,0 @@ -/ replace_contents "[data-hook='long_description']" -%td Profile Info: -%td= f.text_area :long_description, :class => 'rich_text' diff --git a/spec/features/chili/enterprises_distributor_info_rich_text_feature_spec.rb b/spec/features/chili/enterprises_distributor_info_rich_text_feature_spec.rb index 19ee905ae2..3855b80bee 100644 --- a/spec/features/chili/enterprises_distributor_info_rich_text_feature_spec.rb +++ b/spec/features/chili/enterprises_distributor_info_rich_text_feature_spec.rb @@ -32,8 +32,8 @@ feature "enterprises distributor info as rich text" do click_link 'New Enterprise' # Then I should see fields 'Profile Info' and 'Distributor Info' - page.should have_selector 'td', text: 'Profile Info:' - page.should have_selector 'td', text: 'Distributor Info:' + page.should have_content 'About Us' + page.should have_content 'How does it work' # When I fill out the form and create the enterprise fill_in 'enterprise_name', :with => 'Eaterprises'