diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-11-01 22:30:46 +0100 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-11-01 22:30:46 +0100 |
commit | ffa586061dbbb9f10196653673bf18842d2078b3 (patch) | |
tree | 1707e9e2fde4670392561dde34b6715d8e5174bf /spec | |
parent | 7371c9e2f453c6bd910aa1335a278743bbf827bf (diff) | |
download | gitlab-ce-ffa586061dbbb9f10196653673bf18842d2078b3.tar.gz |
Use require spec_helper instead of relative path
More portable if either test or class gets moved,
more uniform with the rest of the tests.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/models/slack_message_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/slack_message_spec.rb b/spec/models/slack_message_spec.rb index 1cd58534702..78d743e01bf 100644 --- a/spec/models/slack_message_spec.rb +++ b/spec/models/slack_message_spec.rb @@ -1,4 +1,4 @@ -require_relative '../../app/models/project_services/slack_message' +require 'spec_helper' describe SlackMessage do subject { SlackMessage.new(args) } |