Do you have experience Capybara (feature test tool in gem not animal) dose not reload the page when you access same url more than once. Try to use page.reset!


escribe "test" do

  it "the page title is user name" do
    user = Fabricate.create(:user)
    visit "/"
    expect(page).to have_title(user.name)

    user.update_attributes(name: "hoge")
    page.reset! # try to reset
    visit "/"
    expect(page).to have_title("hoge") # will success


add ticket number to git commit automatically

Most of ticket tracker like Github, pivotal tracker have function to connect your commit to ticket(story).But every time when you commit ...… Continue reading

I will build frontend and backend separately

Published on September 28, 2016

order of angular controller's initialisation

Published on October 05, 2015