diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-03-10 15:37:45 +0200 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-03-10 15:56:33 +0200 |
commit | 7499901c2421074b1730b8a803b9435a3f234506 (patch) | |
tree | c445cf6e3b2a44605befcd16c477ca6547370db9 /spec/models/commit_spec.rb | |
parent | e435e6b4a4100f1884088aa5a6156ce69304b473 (diff) | |
download | gitlab-ci-7499901c2421074b1730b8a803b9435a3f234506.tar.gz |
rename committer to pusher
Diffstat (limited to 'spec/models/commit_spec.rb')
-rw-r--r-- | spec/models/commit_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/models/commit_spec.rb b/spec/models/commit_spec.rb index d93488c..da57109 100644 --- a/spec/models/commit_spec.rb +++ b/spec/models/commit_spec.rb @@ -81,7 +81,7 @@ describe Commit do context 'always sending notification' do it 'should return commit_pusher_email as only recipient when no additional recipients are given' do project = FactoryGirl.create :project, - email_add_committer: true, + email_add_pusher: true, email_recipients: '' commit = FactoryGirl.create :commit, project: project expected = 'commit_pusher_email' @@ -91,7 +91,7 @@ describe Commit do it 'should return commit_pusher_email and additional recipients' do project = FactoryGirl.create :project, - email_add_committer: true, + email_add_pusher: true, email_recipients: 'rec1 rec2' commit = FactoryGirl.create :commit, project: project expected = 'commit_pusher_email' @@ -101,7 +101,7 @@ describe Commit do it 'should return recipients' do project = FactoryGirl.create :project, - email_add_committer: false, + email_add_pusher: false, email_recipients: 'rec1 rec2' commit = FactoryGirl.create :commit, project: project commit.project_recipients.should == ['rec1', 'rec2'] @@ -109,7 +109,7 @@ describe Commit do it 'should return unique recipients only' do project = FactoryGirl.create :project, - email_add_committer: true, + email_add_pusher: true, email_recipients: 'rec1 rec1 rec2' commit = FactoryGirl.create :commit, project: project expected = 'rec2' |