Smaller fixes

This commit is contained in:
Riyad Preukschas 2013-01-15 00:27:26 +01:00
parent 8c604c9d31
commit 74e48f070f
2 changed files with 3 additions and 3 deletions

View File

@ -39,6 +39,6 @@
.js-notify-commit-author
= label_tag :notify_author do
= check_box_tag :notify_author, 1 , !@note.for_commit?
= check_box_tag :notify_author, 1 , @note.for_commit?
Commit author
.clearfix

View File

@ -73,8 +73,8 @@ FactoryGirl.define do
# pick 3 commits "at random" (from bcf03b5d~3 to bcf03b5d)
trait :with_diffs do
target_branch "bcf03b5d~3"
source_branch "bcf03b5d"
target_branch "master" # pretend bcf03b5d~3
source_branch "stable" # pretend bcf03b5d
st_commits do
[Commit.new(project.repo.commit('bcf03b5d')),
Commit.new(project.repo.commit('bcf03b5d~1')),