Commit 74e48f070f5adb83c0d82ca5b8795bebb666033e

Authored by Riyad Preukschas
1 parent 8c604c9d

Smaller fixes

app/views/notes/_form.html.haml
... ... @@ -39,6 +39,6 @@
39 39  
40 40 .js-notify-commit-author
41 41 = label_tag :notify_author do
42   - = check_box_tag :notify_author, 1 , !@note.for_commit?
  42 + = check_box_tag :notify_author, 1 , @note.for_commit?
43 43 Commit author
44 44 .clearfix
... ...
spec/factories.rb
... ... @@ -73,8 +73,8 @@ FactoryGirl.define do
73 73  
74 74 # pick 3 commits "at random" (from bcf03b5d~3 to bcf03b5d)
75 75 trait :with_diffs do
76   - target_branch "bcf03b5d~3"
77   - source_branch "bcf03b5d"
  76 + target_branch "master" # pretend bcf03b5d~3
  77 + source_branch "stable" # pretend bcf03b5d
78 78 st_commits do
79 79 [Commit.new(project.repo.commit('bcf03b5d')),
80 80 Commit.new(project.repo.commit('bcf03b5d~1')),
... ...