15.1 Task I1: Selecting the locale 13.5 Playtime
rake test
DEPRECATION WARNING: railtie_name is deprecated and has no effect. (called from /home/rubys/.rvm/gems/ruby-1.8.7-p249/gems/will_paginate-3.0.pre/lib/will_paginate/railtie.rb:6)
(in /home/rubys/svn/rails4/Book/util/work/depot)
DEPRECATION WARNING: railtie_name is deprecated and has no effect. (called from /home/rubys/.rvm/gems/ruby-1.8.7-p249/gems/will_paginate-3.0.pre/lib/will_paginate/railtie.rb:6)
Loaded suite /home/rubys/.rvm/gems/ruby-1.8.7-p249%global/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
..........
Finished in 0.163055 seconds.
10 tests, 31 assertions, 0 failures, 0 errors
DEPRECATION WARNING: railtie_name is deprecated and has no effect. (called from /home/rubys/.rvm/gems/ruby-1.8.7-p249/gems/will_paginate-3.0.pre/lib/will_paginate/railtie.rb:6)
Loaded suite /home/rubys/.rvm/gems/ruby-1.8.7-p249%global/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
.........E....................................
Finished in 1.539794 seconds.
1) Error:
test_should_create_line_item_via_ajax(LineItemsControllerTest):
ActionView::Template::Error: Missing partial carts/cart with {:handlers=>[:rjs, :builder, :rhtml, :rxml, :erb], :locale=>[:en, :en], :formats=>[:js]} in view paths "/home/rubys/svn/rails4/Book/util/work/depot/app/views"
app/views/line_items/create.js.rjs:5
app/views/line_items/create.js.rjs:1
/test/functional/line_items_controller_test.rb:57:in `test_should_create_line_item_via_ajax'
/test/functional/line_items_controller_test.rb:55:in `test_should_create_line_item_via_ajax'
46 tests, 73 assertions, 0 failures, 1 errors
DEPRECATION WARNING: railtie_name is deprecated and has no effect. (called from /home/rubys/.rvm/gems/ruby-1.8.7-p249/gems/will_paginate-3.0.pre/lib/will_paginate/railtie.rb:6)
Loaded suite /home/rubys/.rvm/gems/ruby-1.8.7-p249%global/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
EEE
Finished in 0.23464 seconds.
1) Error:
test_buying_a_product(DslUserStoriesTest):
ActionView::Template::Error: Missing partial carts/cart with {:formats=>[:js], :locale=>[:en, :en], :handlers=>[:rjs, :erb, :rhtml, :builder, :rxml]} in view paths "/home/rubys/svn/rails4/Book/util/work/depot/app/views"
app/views/line_items/create.js.rjs:5
app/views/line_items/create.js.rjs:1
/test/integration/dsl_user_stories_test.rb:76:in `buys_a'
/test/integration/dsl_user_stories_test.rb:44:in `test_buying_a_product'
2) Error:
test_two_people_buying(DslUserStoriesTest):
ActionView::Template::Error: Missing partial carts/cart with {:formats=>[:js], :locale=>[:en, :en], :handlers=>[:rjs, :erb, :rhtml, :builder, :rxml]} in view paths "/home/rubys/svn/rails4/Book/util/work/depot/app/views"
app/views/line_items/create.js.rjs:5
app/views/line_items/create.js.rjs:1
/test/integration/dsl_user_stories_test.rb:76:in `buys_a'
/test/integration/dsl_user_stories_test.rb:56:in `test_two_people_buying'
3) Error:
test_buying_a_product(UserStoriesTest):
ActionView::Template::Error: Missing partial carts/cart with {:formats=>[:js], :locale=>[:en, :en], :handlers=>[:rjs, :erb, :rhtml, :builder, :rxml]} in view paths "/home/rubys/svn/rails4/Book/util/work/depot/app/views"
app/views/line_items/create.js.rjs:5
app/views/line_items/create.js.rjs:1
/test/integration/user_stories_test.rb:25:in `test_buying_a_product'
3 tests, 4 assertions, 0 failures, 3 errors
Errors running test:functionals, test:integration!
git commit -a -m "formats"
Created commit 6f8cdb5: formats
5 files changed, 77 insertions(+), 11 deletions(-)
git tag iteration-i