old deface files deleted. spec for enterprise form updated

This commit is contained in:
Maikel Linke
2014-03-06 18:35:14 +11:00
parent 9181f0243a
commit 7d30d8e28f
3 changed files with 2 additions and 9 deletions

View File

@@ -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'

View File

@@ -1,3 +0,0 @@
/ replace_contents "[data-hook='long_description']"
%td Profile Info:
%td= f.text_area :long_description, :class => 'rich_text'

View File

@@ -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'