apotonick/rspec-cells — Issue #8: generated test failed
Author: flyerhzm
Created: 2011-10-14 08:36:53+00:00
State: open

I generate the sponsor cell by

rails generate cell sponsor active

and run the test with

rspec spec/cells/sponsor_cell_spec.rb

I got the following error

1) SponsorCell cell rendering rendering active
Failure/Error: subject { render_cell(:sponsor, :active) }
NoMethodError:
undefined method `string' for Capybara:Module
# ./spec/cells/sponsor_cell_spec.rb:7:in `block (4 levels) in '
# ./spec/cells/sponsor_cell_spec.rb:9:in `block (4 levels) in '

2) SponsorCell cell rendering rendering active
Failure/Error: subject { render_cell(:sponsor, :active) }
NoMethodError:
undefined method `string' for Capybara:Module
# ./spec/cells/sponsor_cell_spec.rb:7:in `block (4 levels) in '
# ./spec/cells/sponsor_cell_spec.rb:10:in `block (4 levels) in '

my capybara version is 0.3.9