- Allow Cells 4.1.
- Maintenance release to make it work with rspec-rails 3.3.
- Bugfix: In 0.3.1, I included cells specific
#controller
code into every Rspec example. Thanks to @psynix for spotting this within minutes.
- You can now use
::controller
in your examples to set a controller class, in case your cell requires a controller. This also fixes#controller
in the example which always returned nil before.describe Song::Cell do controller SongsController it do controller #=> <#SongsController>
- Only supports Rspec 3 and Cells 4.
#render_cell
is replaced withcell(:song).call
. See http://trailblazerb.org/gems/cells/testing.html#rspec.
- Last release for Cells 3.x.
- Allow using
cell.stub(..)
with capybara.
- Relaxed rspec dependency to >= 2.14.
- Added
enable_cell_caching!
for specs.
- rspec-cells depends on rspec >= 2.99 and uses the expect syntax. Thanks to @seuros for his help.
- Remove
respond_to
tests from generated tests.
- Make specs work with cell view models.
- Don't use
have_selector
in generated spec unless Capybara's around. - Less restricted dependencies.
- Override #render_state in specs using module in favour of Decorator (broke stubbing).
- Make @render_state@ return a Capybara string so it gets assertable.
- Minor internal fixes.
- Fixed generated test for namespaced cells.
- Another maintenance release since we broke the gem with the last release :-)
- Maintenance release.
- No more deprecation warnings in Rails 3.2.
- Fixed indentation in generator. Thanks to Richard Huang [flyerhzm].
h3. Changes
- Removed @ViewAssigns@. Maintenance Release.
h3. Changes
- Works with RSpec-2.6 now, too.
- We no longer provide our own Capybara string matchers but delegate to @Capybara.string@. If you ever used the @==@ equality check, this won't work anymore. As a tradeoff, you get all string matchers Capybara comes up with, making rspec-cells forward-compatible.
h3. Changes
- Use Capybara's string matchers in your specs now (if you like)!
h3. Bugfixes
- Using a Railtie to correctly load rspec-cells. Caused a dependency problem with capybara before. Thanks to Steve Sloan [CodeMonkeySteve] for fixing and Brandon Dimcheff [bdimcheff] for debugging.