Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Strip value from product_price

  • Loading branch information...
commit 3351f31f2d7514a2960bd83ff5b5111a621eb5c8 1 parent 80c8cc0
Ryan Bigg authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  spec/requests/de/admin/products_spec.rb
3  spec/requests/de/admin/products_spec.rb
View
@@ -12,7 +12,6 @@
# No clue WHY we have to set this, it's just necessary. Ugh.
fill_in "product_cost_price", :with => "10"
click_button I18n.t("update")
- Nokogiri::HTML(page.body).css("input#product_price")[0]["value"].should == "9,99"
+ Nokogiri::HTML(page.body).css("input#product_price")[0]["value"].strip.should == "9,99"
end
-
end
Please sign in to comment.
Something went wrong with that request. Please try again.