summaryrefslogtreecommitdiff
path: root/spec/support/test_env.rb
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-06-22 12:37:38 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-06-22 12:37:38 +0200
commit5331a49d0bc8f6ffd7b16c1b879aee13638dcdae (patch)
tree95b6606b7ab72f649855e89d0dcd855abd268a97 /spec/support/test_env.rb
parent3a3dd539208f75be9b2944c752ac3dc18a1b4306 (diff)
parent270ca89d9f5c3f5737f372a4f4014a429f5e75ba (diff)
downloadgitlab-ce-5331a49d0bc8f6ffd7b16c1b879aee13638dcdae.tar.gz
Merge branch 'master' into fix/gb/improve-updating-column-in-batches-helper
* master: (56 commits) File view buttons Don't reset the session when the example failed, because we need capybara-screenshot to have access to it Resolve "MR comment + system note highlight don't have the same width" Add feature spec for dashboard state filter tabs Wording of Mysql support. a new feature checklist and more elaborate documentation requirements Filter archived project in API v3 only if param present Revert to using links instead of buttons in Issuable Index tabs. Do not run the codeclimate job on docs-only changes Only show gray footer space if environment actions exist Migrate Gitlab::Git::Blob.find to Gitaly Backport filtered search lazy token consistent state fix Add a comment explaining how the branch clean up happens Fix Github::Representation::PullRequest#source_branch_exists? Add CHANGELOG Fix GitHub importer performance on branch existence check Rebuild the dynamic path before validating it Rename stage ref migration specs to match a class name Enable Style/DotPosition Rubocop :cop: Revert "Merge branch 'winh-merge-request-related-issues' into 'master'" ... Conflicts: db/post_migrate/20170526185921_migrate_build_stage_reference.rb
Diffstat (limited to 'spec/support/test_env.rb')
-rw-r--r--spec/support/test_env.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/support/test_env.rb b/spec/support/test_env.rb
index 3f472e59c49..1c5267c290b 100644
--- a/spec/support/test_env.rb
+++ b/spec/support/test_env.rb
@@ -83,13 +83,13 @@ module TestEnv
end
def disable_mailer
- allow_any_instance_of(NotificationService).to receive(:mailer).
- and_return(double.as_null_object)
+ allow_any_instance_of(NotificationService).to receive(:mailer)
+ .and_return(double.as_null_object)
end
def enable_mailer
- allow_any_instance_of(NotificationService).to receive(:mailer).
- and_call_original
+ allow_any_instance_of(NotificationService).to receive(:mailer)
+ .and_call_original
end
def disable_pre_receive