mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-31 06:31:41 +00:00
old deface files deleted. spec for enterprise form updated
This commit is contained in:
@@ -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'
|
||||
@@ -1,3 +0,0 @@
|
||||
/ replace_contents "[data-hook='long_description']"
|
||||
%td Profile Info:
|
||||
%td= f.text_area :long_description, :class => 'rich_text'
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user