Skip to content

Commit

Permalink
using find to fix intermittent spec
Browse files Browse the repository at this point in the history
  • Loading branch information
sbounmy committed Mar 30, 2013
1 parent d4f7b4d commit 787753d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/requests/option_types_spec.rb
Expand Up @@ -24,8 +24,8 @@
page.should have_content("successfully updated!") page.should have_content("successfully updated!")
click_icon :edit click_icon :edit


first('#option_type_presentation')[:value].should == "Size" find('#option_type_presentation')[:value].should == "Size"
select "fr", :from => "spree_multi_lingual_dropdown" 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
end end

0 comments on commit 787753d

Please sign in to comment.