diff --git a/Gemfile b/Gemfile index 4d1020e0..37335a76 100644 --- a/Gemfile +++ b/Gemfile @@ -47,7 +47,10 @@ group :test do gem "thoughtbot-factory_girl" gem 'memory_test_fix', '~>0.1.3' gem "capybara", ">=0.3.5" + gem "selenium-webdriver", '2.14.0' # locked to 2.14.0, see https://code.google.com/p/selenium/issues/detail?id=3075 gem "capybara-webkit" + gem "capybara-screenshot" + gem "launchy" gem "database_cleaner", ">=0.5.0" gem "cucumber-rails", "~>0.3.2" end diff --git a/Gemfile.lock b/Gemfile.lock index 6c6433a0..c16bdf6a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -3,8 +3,8 @@ GEM remote: http://gems.github.com/ specs: RedCloth (4.2.8) - ZenTest (4.6.1) - aasm (2.2.0) + ZenTest (4.6.2) + aasm (2.2.1) actionmailer (2.3.14) actionpack (= 2.3.14) actionpack (2.3.14) @@ -16,6 +16,7 @@ GEM activesupport (= 2.3.14) activesupport (2.3.14) acts_as_list (0.1.4) + addressable (2.2.6) bcrypt-ruby (2.1.4) builder (3.0.0) capybara (1.1.2) @@ -25,48 +26,52 @@ GEM rack-test (>= 0.5.4) selenium-webdriver (~> 2.0) xpath (~> 0.1.4) - capybara-webkit (0.8.0) + capybara-screenshot (0.1.10) + capybara (>= 1.0) + capybara-webkit (0.9.0) capybara (>= 1.0.0, < 1.2) json cgi_multipart_eof_fix (2.5.0) - childprocess (0.3.0) + childprocess (0.3.1) ffi (~> 1.0.6) - columnize (0.3.4) - cucumber (1.0.2) + columnize (0.3.6) + cucumber (1.1.4) builder (>= 2.1.2) diff-lcs (>= 1.1.2) - gherkin (~> 2.4.5) + gherkin (~> 2.7.1) json (>= 1.4.6) - term-ansicolor (>= 1.0.5) + term-ansicolor (>= 1.0.6) cucumber-rails (0.3.2) cucumber (>= 0.8.0) - daemons (1.1.4) - database_cleaner (0.6.7) - diff-lcs (1.1.2) + daemons (1.1.8) + database_cleaner (0.7.1) + diff-lcs (1.1.3) fastthread (1.0.7) ffi (1.0.11) flexmock (0.9.0) gem_plugin (0.2.3) - gherkin (2.4.11) + gherkin (2.7.7) json (>= 1.4.6) has_many_polymorphs (2.13) activerecord highline (1.5.2) - hoe (2.12.0) + hoe (2.13.1) rake (~> 0.8) - hpricot (0.8.4) - htmlentities (4.3.0) - httpclient (2.2.1) + hpricot (0.8.6) + htmlentities (4.3.1) + httpclient (2.2.4) i18n (0.6.0) - json (1.5.3) + json (1.6.5) + launchy (2.0.5) + addressable (~> 2.2.6) linecache (0.46) rbx-require-relative (> 0.0.4) - mail (2.3.0) + mail (2.4.1) i18n (>= 0.4.0) mime-types (~> 1.16) treetop (~> 1.4.8) memory_test_fix (0.1.3) - mime-types (1.16) + mime-types (1.17.2) mongrel (1.1.5) cgi_multipart_eof_fix (>= 2.4) daemons (>= 1.0.3) @@ -75,7 +80,7 @@ GEM multi_json (1.0.4) mysql (2.8.1) nokogiri (1.4.7) - polyglot (0.3.2) + polyglot (0.3.3) rack (1.1.0) rack-test (0.6.1) rack (>= 1.0) @@ -104,18 +109,18 @@ GEM actionpack (~> 2.3.0) activerecord (~> 2.3.0) activesupport (~> 2.3.0) - rubyzip (0.9.5) + rubyzip (0.9.6.1) sanitize (1.2.1) nokogiri (~> 1.4.1) - selenium-webdriver (2.17.0) - childprocess (>= 0.2.5) + selenium-webdriver (2.14.0) + childprocess (>= 0.2.1) ffi (~> 1.0.9) multi_json (~> 1.0.4) rubyzip soap4r (1.5.8) httpclient (>= 2.1.1) - sqlite3 (1.3.4) - term-ansicolor (1.0.6) + sqlite3 (1.3.5) + term-ansicolor (1.0.7) test-unit (1.2.3) hoe (>= 1.5.1) thoughtbot-factory_girl (1.2.2) @@ -125,7 +130,7 @@ GEM will_paginate (2.3.16) xpath (0.1.4) nokogiri (~> 1.3) - yard (0.7.3) + yard (0.7.5) PLATFORMS ruby @@ -137,6 +142,7 @@ DEPENDENCIES acts_as_list (~> 0.1.4) bcrypt-ruby (~> 2.1.4) capybara (>= 0.3.5) + capybara-screenshot capybara-webkit cucumber-rails (~> 0.3.2) database_cleaner (>= 0.5.0) @@ -146,6 +152,7 @@ DEPENDENCIES hoe hpricot htmlentities (~> 4.3.0) + launchy mail memory_test_fix (~> 0.1.3) mongrel @@ -159,6 +166,7 @@ DEPENDENCIES rubycas-client (~> 2.2.1) rubyjedi-actionwebservice sanitize (~> 1.2.1) + selenium-webdriver (= 2.14.0) soap4r (~> 1.5.8) sqlite3 test-unit (= 1.2.3) diff --git a/app/views/todos/_todo.html.erb b/app/views/todos/_todo.html.erb index fc51cc74..190a8afd 100644 --- a/app/views/todos/_todo.html.erb +++ b/app/views/todos/_todo.html.erb @@ -12,7 +12,7 @@ parameters += "&_tag_name=#{@tag_name}" if @source_view == 'tag' <%= remote_toggle_checkbox(todo) %> <%= remote_edit_button(todo) unless suppress_edit_button %>