Commit 74e48f070f5adb83c0d82ca5b8795bebb666033e
1 parent
8c604c9d
Exists in
master
and in
4 other branches
Smaller fixes
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
app/views/notes/_form.html.haml
| @@ -39,6 +39,6 @@ | @@ -39,6 +39,6 @@ | ||
| 39 | 39 | ||
| 40 | .js-notify-commit-author | 40 | .js-notify-commit-author |
| 41 | = label_tag :notify_author do | 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 | Commit author | 43 | Commit author |
| 44 | .clearfix | 44 | .clearfix |
spec/factories.rb
| @@ -73,8 +73,8 @@ FactoryGirl.define do | @@ -73,8 +73,8 @@ FactoryGirl.define do | ||
| 73 | 73 | ||
| 74 | # pick 3 commits "at random" (from bcf03b5d~3 to bcf03b5d) | 74 | # pick 3 commits "at random" (from bcf03b5d~3 to bcf03b5d) |
| 75 | trait :with_diffs do | 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 | st_commits do | 78 | st_commits do |
| 79 | [Commit.new(project.repo.commit('bcf03b5d')), | 79 | [Commit.new(project.repo.commit('bcf03b5d')), |
| 80 | Commit.new(project.repo.commit('bcf03b5d~1')), | 80 | Commit.new(project.repo.commit('bcf03b5d~1')), |