Add spec for showing diff

This commit is contained in:
鳥井 雪 2015-02-04 14:21:22 +09:00
parent 526d28e996
commit 976112cf66

View File

@ -37,6 +37,13 @@ describe "histories", stub: :daemon do
page.should have_text(last_backup_file.content)
end
it 'shows diff between current and target' do
page.should have_text("- type http")
page.should have_text("+ type forward")
page.should have_text("- port 8899")
page.should have_text("+ port 24224")
end
it 'update config and redirect to setting#show' do
click_link I18n.t("terms.reuse")