Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

using find to fix intermittent spec

  • Loading branch information...
commit 787753db8c3187a7e69434ee033ef406de6cccf9 1 parent d4f7b4d
@sbounmy sbounmy authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/requests/option_types_spec.rb
View
4 spec/requests/option_types_spec.rb
@@ -24,8 +24,8 @@
page.should have_content("successfully updated!")
click_icon :edit
- first('#option_type_presentation')[:value].should == "Size"
+ find('#option_type_presentation')[:value].should == "Size"
select "fr", :from => "spree_multi_lingual_dropdown"
- first('#option_type_presentation_fr')[:value].should == "Taille"
+ find('#option_type_presentation_fr')[:value].should == "Taille"
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.