Day 8

Ágnes Donát
acebook-byte4
Published in
2 min readApr 20, 2018

The weekend is coming and Byte 4 is close to the finish line. The biggest challenge today was to sit inside and get things done while London welcomed the first really nice and warm day of 2018…

At our usual stand up, we listed all the things we wanted finish or fix during the day. Travis was giving us headache, so we wanted to get rid of the errors to ensure continuous deployment. We also decided to finalise our post, like and comment features and beautify our app with some more bootstrap magic.

First, we started working individually on different problems, just to find out an hour later that both Irfan and I were trying to make Travis agree with us. I was doing research online while Irfan went to the Source (aka Chris). With the invaluable advice of freezing the time in our database we were back on the track in no time.

Call the Cops!

Turns out there is a gem called timecop that provides “time travel”, “time freezing”, and “time acceleration” capabilities”. This helped us test our time-dependant code and made Travis happy which was key to a glorious continuous deployment. Irfan froze the time in 1980, our tests were passing and we were back to the future.

Us, using timecop for the first time

Probably this was one of our biggest breakthrough during the project so we took a few minutes to celebrate, and I also made a friend of mine in Hungary sign up and comment so we could test that our fabulous acebook app was really connecting people everywhere.

Next, we wanted to sprinkle some bootstrap goodness all over our comment section. Irfan was fantastic and he showed me and Antonio how to edit our view. It was a lot of fun, now that all the main functionality had been implemented, we could enjoy the luxury of arguing where and how we wanted to display the number of likes and dislikes.

Lunchtime came and we all decided to walk to the food market. My ice cream eating habits were judged by Antonio, who disapproved my desire to eat it before lunch. Irfan said that if he were me he would have an ice cream before and after lunch… We dropped the topic but later Antonio got me a Twister.

In the afternoon, the energy level was a little bit lower however we still managed to polish our code, refactored some tests (we have 35 beautiful green tests so far!) and added a link to our GitHub project repo.

The retro again was a great opportunity to reflect on how far we’ve come since last Monday. We managed to achieve our daily objectives and come up with some plans for the next two days.

--

--