You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-ruby/best_in_place/files/best_in_place-1.0.4-disable...

54 lines
1.5 KiB

Index: best_in_place-1.0.4/spec/integration/js_spec.rb
===================================================================
--- best_in_place-1.0.4.orig/spec/integration/js_spec.rb
+++ best_in_place-1.0.4/spec/integration/js_spec.rb
@@ -279,23 +279,6 @@ describe "JS behaviour", :js => true do
text.should == "Via Roma 99"
end
end
-
- it "should display the updated content after editing the field two consecutive times" do
- @user.save!
- retry_on_timeout do
- visit user_path(@user)
-
- bip_text @user, :address, "New address"
-
- id = BestInPlace::Utils.build_best_in_place_id @user, :address
- page.execute_script <<-JS
- $("##{id}").click();
- JS
-
- text = page.find("##{id} input").value
- text.should == "New address"
- end
- end
end
describe "display_with" do
@@ -347,24 +330,6 @@ describe "JS behaviour", :js => true do
end
end
- it "should display the updated content after editing the field two consecutive times" do
- @user.save!
-
- retry_on_timeout do
- visit user_path(@user)
-
- bip_text @user, :money, "40"
-
- id = BestInPlace::Utils.build_best_in_place_id @user, :money
- page.execute_script <<-JS
- $("##{id}").click();
- JS
-
- text = page.find("##{id} input").value
- text.should == "40"
- end
- end
-
it "should show the money in euros" do
@user.save!
visit double_init_user_path(@user)