diff --git a/db/schema.rb b/db/schema.rb index c4fbefa1142081bae5278de17b39259f24c76016..a11b1c8e5520c2f08582eb222fcadb054b277831 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -395,7 +395,7 @@ ActiveRecord::Schema.define(:version => 20110202015222) do add_index "profiles", ["first_name", "searchable"], :name => "index_profiles_on_first_name_and_searchable" add_index "profiles", ["last_name", "searchable"], :name => "index_profiles_on_last_name_and_searchable" add_index "profiles", ["mongo_id"], :name => "index_profiles_on_mongo_id" - add_index "profiles", ["person_id"], :name => "index_profiles_on_person_id", :unique => true + add_index "profiles", ["person_id"], :name => "index_profiles_on_person_id" create_table "requests", :force => true do |t| t.integer "sender_id", :null => false @@ -457,8 +457,8 @@ ActiveRecord::Schema.define(:version => 20110202015222) do t.datetime "created_at" t.datetime "updated_at" t.string "mongo_id" - t.string "invitation_service" - t.string "invitation_identifier" + t.string "invitation_service", :limit => 127 + t.string "invitation_identifier", :limit => 127 end add_index "users", ["email"], :name => "index_users_on_email" diff --git a/features/step_definitions/web_steps.rb b/features/step_definitions/web_steps.rb index a16dc0821e5f0ed2682dedf4f0ea2f656f1ee807..d7a57da2e91084e52349f8887d835034bed1ab6f 100644 --- a/features/step_definitions/web_steps.rb +++ b/features/step_definitions/web_steps.rb @@ -26,7 +26,9 @@ end When /^(?:|I )press "([^"]*)"(?: within "([^"]*)")?$/ do |button, selector| with_scope(selector) do - silence_warnings { click_button(button) } # ruby 1.9 produces a warning about UTF8 from rack-util + silence_warnings { + sleep 1 if button == "Share" + click_button(button) } # ruby 1.9 produces a warning about UTF8 from rack-util end end