OSDN Git Service

Preselect the current issue tracker with selected="selected"
authorJohannes Schleifenbaum <johannes@js-webcoding.de>
Fri, 1 Nov 2013 14:33:47 +0000 (15:33 +0100)
committerJohannes Schleifenbaum <johannes@js-webcoding.de>
Fri, 1 Nov 2013 14:33:47 +0000 (15:33 +0100)
commitd9deb24f3a507933106b2c9a00a9bc73f9eee269
tree387f1b540d7f4f86abf2368d1ffa8c34a7a3a5d4
parentc27e49e916cebf87a5dc9e6cf1669d33f7e8cd8c
Preselect the current issue tracker with selected="selected"

The previous behavior was, that the first element of the select was
preselected, thus upon saving the project, the previous selected could
be overwritten.
app/helpers/projects_helper.rb
app/views/projects/edit.html.haml
features/project/edit_issuetracker.feature [new file with mode: 0644]
features/steps/project/project_issue_tracker.rb [new file with mode: 0644]
spec/helpers/projects_helper_spec.rb