Closed PikachuEXE closed 11 years ago
Should be fixed in 0.1.8.
BTW if you're keen on helping out, get the gem's specs run with the capybara gem loaded.
Now the stub is not working anymore!! Worse :P
let!(:cell_instance) { cell(:some_cell) }
before { cell_instance.stub(current_user: seed(:user)) }
Works with 0.17
but not 0.18
Should work with 0.1.9 now - sorry :)
On Tue, Nov 12, 2013 at 4:07 PM, PikachuEXE notifications@github.comwrote:
Now the stub is not working anymore!! Worse :P
let!(:cell_instance) { cell(:some_cell) }before { cell_instance.stub(current_user: seed(:user)) }
Works with 0.17 but not 0.18
— Reply to this email directly or view it on GitHubhttps://github.com/apotonick/rspec-cells/issues/31#issuecomment-28268664 .
Finally It's working now! Thanks! :)
I try to use Cell with Devise And follow how to stub things in https://github.com/apotonick/rspec-cells#api
But
cell_instance.render_state(:state)
would giveundefined method
has_selector?' for#<ActiveSupport::SafeBuffer>
Including
Capybara::RSpecMatchers
manually would solve it but I am not sure if it's intended (sincerender_cell
works fine before)