jchayan / bakery

Artisanal digital bakery
0 stars 0 forks source link

Feature: Update page automatically when the cookies are ready #5

Closed jchayan closed 4 years ago

jchayan commented 4 years ago

Given I have unfinished cookies in an oven And I am on the oven page Then I should see that the cookies are not yet ready When the cookies finish cooking Then I should see that the cookies are ready Note: Periodic polling is acceptable, but only the relevant part of the page should update

jchayan commented 4 years ago

Important observation here. I lost a lot of time trying to figure out why RSpec stops working when ActionController::Live is composed into a Rails Controller. I would appreciate any help since I wasn't able to figure it out.

I know it's related to ActionController::Live because I added a signal trap to the RSpec process in order to get the backtrace (as suggested here)

I didn't continue to avoid losing more time