Menu
abriraqui
  • reflexiones
  • publicaciones
  • hackership
  • experiencias
abriraqui

Whatever happened to privacy? #hackership

Posted on December 4, 2013December 28, 2013

Tweet

As time passes it gets more difficult to enhance the particularities of hackership days. Things tend to repeat.  Continue doing the morning walk, do the stand up round,though less people attend. Betahaus has introduced some Xmas in the space, in quite a subtle way. Betahaus Xmas flowers

Then back to rspec testing, red tests that have to turn green, models, associations, it seems as if it was the same, but the big difference is that now is no longer something unknown, by now those things are familiar, they are not a big mystery, they become part of everyday life, the next challenge is to improve them, time for refactoring is near but before all the tests had to pass.

I was having some problem with testing image_tag, and how to click on it, some googling, helped but still something was missing. The image_tag is used to have an icon with a plus, where you can click and then create a new event.

scenario 'Create a new event' do
visit events_path
find("#addIcon").click
expect(page).to have_content('Create new event')
fill_in 'Name', with: 'lala'
fill_in 'Day', with: Date.today
fill_in 'Event type', with: 'Workshop'
click_button 'Create event'
expect(page).to have_content('lala')
expect(page).to have_link('Back')
end

To finally do it, it was needed to use capybara find element, passing the CSS id, and the key was how to associate the CSS id to the image_tag method in the view

<%=link_to(image_tag("icons/add.png"), new_event_path,  :id => "addIcon") %>

Once this is solved, and the other error messages from the failing tests read carefully (if you read carefully many times you manage to solve the problem) I got my 48 tests green 🙂

Next thing, commit changes in GIT, the last days I’m trying to be very clean with git, do small commits, play around with the stagging area sometimes, the push to my github repo.

Then a new Rails Q&A session, some understanding of what are concerns.

After hackership, time to go to the c-base 🙂 to meet a friend and continue talking about technology. A reminder is that this weekend takes place the International Activism Conference  “Whatever happened to Privacy? ” with this program and held in Heinrich-Boell-Stiftung,Schumannstraße 8, 10117 Berlin.

6 thoughts on “Whatever happened to privacy? #hackership”

  1. lilithlela says:
    December 4, 2013 at 6:42 pm

    RT @carolina: Whatever happened to privacy? #hackership http://t.co/aOHPZzl5Uy https://t.co/wd6wiYeLji

  2. OpPinkPower says:
    December 4, 2013 at 6:42 pm

    RT @carolina: Whatever happened to privacy? #hackership http://t.co/1ODuiAdenV https://t.co/rk13UxwYkU

  3. TelfordTwilight says:
    December 4, 2013 at 6:43 pm

    RT @OpPinkPower: RT @carolina: Whatever happened to privacy? #hackership http://t.co/1ODuiAdenV https://t.co/rk13UxwYkU

  4. TelfordTwilight says:
    December 4, 2013 at 6:44 pm

    RT @lilithlela: RT @carolina: Whatever happened to privacy? #hackership http://t.co/aOHPZzl5Uy https://t.co/wd6wiYeLji

  5. hotleadenema says:
    December 4, 2013 at 6:51 pm

    RT @OpPinkPower: RT @carolina: Whatever happened to privacy? #hackership http://t.co/1ODuiAdenV https://t.co/rk13UxwYkU

  6. UKanons says:
    December 4, 2013 at 7:09 pm

    RT @lilithlela: RT @carolina: Whatever happened to privacy? #hackership http://t.co/aOHPZzl5Uy https://t.co/wd6wiYeLji

Comments are closed.

©2023 abriraqui | Powered by SuperbThemes & WordPress