Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 9fa5cdebef
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (17 sloc) 0.621 kb
require 'spec_helper'
feature "OptionType multi lingual", :js => true do
background do
visit spree.admin_option_types_path
end
scenario "create successfully" do
click_link "new_option_type_link"
page.should have_button("Create")
select "fr", :from => "spree_multi_lingual_dropdown"
fill_in "option_type_name", :with => "size"
fill_in "option_type_presentation_fr", :with => "Taille"
select "en", :from => "spree_multi_lingual_dropdown"
fill_in "option_type_presentation", :with => "Size"
click_button "Create"
page.should have_content("successfully created!")
end
end
Jump to Line
Something went wrong with that request. Please try again.