Skip to content

Instantly share code, notes, and snippets.

@igmarin
Created Feb 27, 2014
Embed
What would you like to do?
Error Section Items
➜ techscenemx git:(task-49) ✗ rspec spec/controllers/section_items_controller_spec.rb
SectionItemsController
#index
========== section: #<Section id: 3, name: "services", title: "services for Cancun", subtitle: nil, description: "Event soon", city_id: 2, created_at: "2014-02-27 22:54:03", updated_at: "2014-02-27 22:54:03">, section_items: [#<SectionItem id: 4, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 3, created_at: "2014-02-27 22:54:03", updated_at: "2014-02-27 22:54:03", name: "iTuesday">, #<SectionItem id: 5, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 3, created_at: "2014-02-27 22:54:03", updated_at: "2014-02-27 22:54:03", name: "iTuesday">, #<SectionItem id: 6, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 3, created_at: "2014-02-27 22:54:03", updated_at: "2014-02-27 22:54:03", name: "iTuesday">]
Has a response of OK (FAILED - 1)
========== section: #<Section id: 33, name: "services", title: "services for Cancun", subtitle: nil, description: "Event soon", city_id: 32, created_at: "2014-02-27 22:54:03", updated_at: "2014-02-27 22:54:03">, section_items: [#<SectionItem id: 34, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 33, created_at: "2014-02-27 22:54:03", updated_at: "2014-02-27 22:54:03", name: "iTuesday">, #<SectionItem id: 35, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 33, created_at: "2014-02-27 22:54:03", updated_at: "2014-02-27 22:54:03", name: "iTuesday">, #<SectionItem id: 36, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 33, created_at: "2014-02-27 22:54:03", updated_at: "2014-02-27 22:54:03", name: "iTuesday">]
Assigns @section_items (FAILED - 2)
========== section: #<Section id: 63, name: "services", title: "services for Cancun", subtitle: nil, description: "Event soon", city_id: 62, created_at: "2014-02-27 22:54:03", updated_at: "2014-02-27 22:54:03">, section_items: [#<SectionItem id: 64, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 63, created_at: "2014-02-27 22:54:03", updated_at: "2014-02-27 22:54:03", name: "iTuesday">, #<SectionItem id: 65, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 63, created_at: "2014-02-27 22:54:03", updated_at: "2014-02-27 22:54:03", name: "iTuesday">, #<SectionItem id: 66, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 63, created_at: "2014-02-27 22:54:03", updated_at: "2014-02-27 22:54:03", name: "iTuesday">]
Renders the index template (FAILED - 3)
#edit
========== section: #<Section id: 93, name: "services", title: "services for Cancun", subtitle: nil, description: "Event soon", city_id: 92, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04">, section_items: [#<SectionItem id: 94, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 93, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">, #<SectionItem id: 95, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 93, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">, #<SectionItem id: 96, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 93, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">]
executes the action correctly (FAILED - 4)
========== section: #<Section id: 123, name: "services", title: "services for Cancun", subtitle: nil, description: "Event soon", city_id: 122, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04">, section_items: [#<SectionItem id: 124, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 123, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">, #<SectionItem id: 125, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 123, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">, #<SectionItem id: 126, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 123, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">]
assigns @section_item (FAILED - 5)
========== section: #<Section id: 153, name: "services", title: "services for Cancun", subtitle: nil, description: "Event soon", city_id: 152, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04">, section_items: [#<SectionItem id: 154, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 153, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">, #<SectionItem id: 155, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 153, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">, #<SectionItem id: 156, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 153, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">]
renders de index template (FAILED - 6)
#update
========== section: #<Section id: 183, name: "services", title: "services for Cancun", subtitle: nil, description: "Event soon", city_id: 182, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04">, section_items: [#<SectionItem id: 184, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 183, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">, #<SectionItem id: 185, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 183, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">, #<SectionItem id: 186, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 183, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">]
executes the action correctly (FAILED - 7)
========== section: #<Section id: 213, name: "services", title: "services for Cancun", subtitle: nil, description: "Event soon", city_id: 212, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04">, section_items: [#<SectionItem id: 214, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 213, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">, #<SectionItem id: 215, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 213, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">, #<SectionItem id: 216, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 213, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">]
renders de edit template after completed (FAILED - 8)
========== section: #<Section id: 243, name: "services", title: "services for Cancun", subtitle: nil, description: "Event soon", city_id: 242, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04">, section_items: [#<SectionItem id: 244, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 243, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">, #<SectionItem id: 245, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 243, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">, #<SectionItem id: 246, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 243, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">]
updates section (FAILED - 9)
#new
========== section: #<Section id: 273, name: "services", title: "services for Cancun", subtitle: nil, description: "Event soon", city_id: 272, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04">, section_items: [#<SectionItem id: 274, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 273, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">, #<SectionItem id: 275, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 273, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">, #<SectionItem id: 276, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 273, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">]
executes the action correctly (FAILED - 10)
#create
========== section: #<Section id: 303, name: "services", title: "services for Cancun", subtitle: nil, description: "Event soon", city_id: 302, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04">, section_items: [#<SectionItem id: 304, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 303, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">, #<SectionItem id: 305, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 303, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">, #<SectionItem id: 306, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 303, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">]
redirects to another action
========== section: #<Section id: 333, name: "services", title: "services for Cancun", subtitle: nil, description: "Event soon", city_id: 332, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04">, section_items: [#<SectionItem id: 334, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 333, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">, #<SectionItem id: 335, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 333, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">, #<SectionItem id: 336, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 333, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">]
redirects to section item listing (FAILED - 11)
========== section: #<Section id: 363, name: "services", title: "services for Cancun", subtitle: nil, description: "Event soon", city_id: 362, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04">, section_items: [#<SectionItem id: 364, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 363, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">, #<SectionItem id: 365, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 363, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">, #<SectionItem id: 366, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 363, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">]
creates section
#destroy
========== section: #<Section id: 393, name: "services", title: "services for Cancun", subtitle: nil, description: "Event soon", city_id: 392, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04">, section_items: [#<SectionItem id: 394, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 393, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">, #<SectionItem id: 395, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 393, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">, #<SectionItem id: 396, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 393, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04", name: "iTuesday">]
redirects to another action (FAILED - 12)
========== section: #<Section id: 423, name: "services", title: "services for Cancun", subtitle: nil, description: "Event soon", city_id: 422, created_at: "2014-02-27 22:54:04", updated_at: "2014-02-27 22:54:04">, section_items: [#<SectionItem id: 424, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 423, created_at: "2014-02-27 22:54:05", updated_at: "2014-02-27 22:54:05", name: "iTuesday">, #<SectionItem id: 425, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 423, created_at: "2014-02-27 22:54:05", updated_at: "2014-02-27 22:54:05", name: "iTuesday">, #<SectionItem id: 426, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 423, created_at: "2014-02-27 22:54:05", updated_at: "2014-02-27 22:54:05", name: "iTuesday">]
redirects to section item listing (FAILED - 13)
========== section: #<Section id: 453, name: "services", title: "services for Cancun", subtitle: nil, description: "Event soon", city_id: 452, created_at: "2014-02-27 22:54:05", updated_at: "2014-02-27 22:54:05">, section_items: [#<SectionItem id: 454, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 453, created_at: "2014-02-27 22:54:05", updated_at: "2014-02-27 22:54:05", name: "iTuesday">, #<SectionItem id: 455, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 453, created_at: "2014-02-27 22:54:05", updated_at: "2014-02-27 22:54:05", name: "iTuesday">, #<SectionItem id: 456, title: "iTuesday", content: "Free technology networking event hosted by Dennis v...", photo: "gallery/playa/tulum.jpg", link: "http://test.com", highlighted: true, section_id: 453, created_at: "2014-02-27 22:54:05", updated_at: "2014-02-27 22:54:05", name: "iTuesday">]
creates section (FAILED - 14)
Failures:
1) SectionItemsController#index Has a response of OK
Failure/Error: puts "=========== #{@user.city == city} #{city.admin == @user} #{@user.roles.inspect}"
NoMethodError:
undefined method `city' for nil:NilClass
# ./spec/controllers/section_items_controller_spec.rb:38:in `block (3 levels) in <top (required)>'
2) SectionItemsController#index Assigns @section_items
Failure/Error: expect(assigns(:section_items)).to eq(section.section_items)
expected: nil
got: []
(compared using ==)
# ./spec/controllers/section_items_controller_spec.rb:43:in `block (3 levels) in <top (required)>'
3) SectionItemsController#index Renders the index template
Failure/Error: expect(response).to render_template("section_items/index")
expecting <"section_items/index"> but rendering with <"">
# ./spec/controllers/section_items_controller_spec.rb:47:in `block (3 levels) in <top (required)>'
4) SectionItemsController#edit executes the action correctly
Failure/Error: get :edit, section_id: section.id, id: section_item.id
NameError:
undefined local variable or method `section_item' for #<RSpec::Core::ExampleGroup::Nested_1::Nested_2:0x007fb373ec4ec8>
# ./spec/controllers/section_items_controller_spec.rb:54:in `block (3 levels) in <top (required)>'
5) SectionItemsController#edit assigns @section_item
Failure/Error: get :edit, section_id: section.id, id: section_item.id
NameError:
undefined local variable or method `section_item' for #<RSpec::Core::ExampleGroup::Nested_1::Nested_2:0x007fb37d2b2950>
# ./spec/controllers/section_items_controller_spec.rb:54:in `block (3 levels) in <top (required)>'
6) SectionItemsController#edit renders de index template
Failure/Error: get :edit, section_id: section.id, id: section_item.id
NameError:
undefined local variable or method `section_item' for #<RSpec::Core::ExampleGroup::Nested_1::Nested_2:0x007fb37ea005d0>
# ./spec/controllers/section_items_controller_spec.rb:54:in `block (3 levels) in <top (required)>'
7) SectionItemsController#update executes the action correctly
Failure/Error: id: section_item.id,
NameError:
undefined local variable or method `section_item' for #<RSpec::Core::ExampleGroup::Nested_1::Nested_3:0x007fb37ed21c00>
# ./spec/controllers/section_items_controller_spec.rb:73:in `block (3 levels) in <top (required)>'
# ./spec/controllers/section_items_controller_spec.rb:80:in `block (3 levels) in <top (required)>'
8) SectionItemsController#update renders de edit template after completed
Failure/Error: id: section_item.id,
NameError:
undefined local variable or method `section_item' for #<RSpec::Core::ExampleGroup::Nested_1::Nested_3:0x007fb37b67f800>
# ./spec/controllers/section_items_controller_spec.rb:73:in `block (3 levels) in <top (required)>'
# ./spec/controllers/section_items_controller_spec.rb:80:in `block (3 levels) in <top (required)>'
9) SectionItemsController#update updates section
Failure/Error: id: section_item.id,
NameError:
undefined local variable or method `section_item' for #<RSpec::Core::ExampleGroup::Nested_1::Nested_3:0x007fb373cf6ee8>
# ./spec/controllers/section_items_controller_spec.rb:73:in `block (3 levels) in <top (required)>'
# ./spec/controllers/section_items_controller_spec.rb:80:in `block (3 levels) in <top (required)>'
10) SectionItemsController#new executes the action correctly
Failure/Error: expect(response.status).to eq(200)
expected: 200
got: 302
(compared using ==)
# ./spec/controllers/section_items_controller_spec.rb:102:in `block (3 levels) in <top (required)>'
11) SectionItemsController#create redirects to section item listing
Failure/Error: response.should redirect_to(section_section_items_path(section))
Expected response to be a redirect to <"http://test.host/sections/333/section_items"> but was a redirect to <"http://test.host/">
# ./spec/controllers/section_items_controller_spec.rb:124:in `block (3 levels) in <top (required)>'
12) SectionItemsController#destroy redirects to another action
Failure/Error: delete :destroy, section_id: section.id, id: section_item.id
NameError:
undefined local variable or method `section_item' for #<RSpec::Core::ExampleGroup::Nested_1::Nested_6:0x007fb373cd6fa8>
# ./spec/controllers/section_items_controller_spec.rb:135:in `block (3 levels) in <top (required)>'
13) SectionItemsController#destroy redirects to section item listing
Failure/Error: delete :destroy, section_id: section.id, id: section_item.id
NameError:
undefined local variable or method `section_item' for #<RSpec::Core::ExampleGroup::Nested_1::Nested_6:0x007fb373ed7be0>
# ./spec/controllers/section_items_controller_spec.rb:135:in `block (3 levels) in <top (required)>'
14) SectionItemsController#destroy creates section
Failure/Error: delete :destroy, section_id: section.id, id: section_item.id
NameError:
undefined local variable or method `section_item' for #<RSpec::Core::ExampleGroup::Nested_1::Nested_6:0x007fb37d2c2f30>
# ./spec/controllers/section_items_controller_spec.rb:135:in `block (3 levels) in <top (required)>'
Finished in 1.81 seconds
16 examples, 14 failures
Failed examples:
rspec ./spec/controllers/section_items_controller_spec.rb:37 # SectionItemsController#index Has a response of OK
rspec ./spec/controllers/section_items_controller_spec.rb:42 # SectionItemsController#index Assigns @section_items
rspec ./spec/controllers/section_items_controller_spec.rb:46 # SectionItemsController#index Renders the index template
rspec ./spec/controllers/section_items_controller_spec.rb:57 # SectionItemsController#edit executes the action correctly
rspec ./spec/controllers/section_items_controller_spec.rb:61 # SectionItemsController#edit assigns @section_item
rspec ./spec/controllers/section_items_controller_spec.rb:65 # SectionItemsController#edit renders de index template
rspec ./spec/controllers/section_items_controller_spec.rb:83 # SectionItemsController#update executes the action correctly
rspec ./spec/controllers/section_items_controller_spec.rb:87 # SectionItemsController#update renders de edit template after completed
rspec ./spec/controllers/section_items_controller_spec.rb:91 # SectionItemsController#update updates section
rspec ./spec/controllers/section_items_controller_spec.rb:101 # SectionItemsController#new executes the action correctly
rspec ./spec/controllers/section_items_controller_spec.rb:123 # SectionItemsController#create redirects to section item listing
rspec ./spec/controllers/section_items_controller_spec.rb:138 # SectionItemsController#destroy redirects to another action
rspec ./spec/controllers/section_items_controller_spec.rb:142 # SectionItemsController#destroy redirects to section item listing
rspec ./spec/controllers/section_items_controller_spec.rb:146 # SectionItemsController#destroy creates section
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment