diff options
Diffstat (limited to 'spec/models/service_spec.rb')
-rw-r--r-- | spec/models/service_spec.rb | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/spec/models/service_spec.rb b/spec/models/service_spec.rb index 40335990025..869ace885f0 100644 --- a/spec/models/service_spec.rb +++ b/spec/models/service_spec.rb @@ -68,9 +68,16 @@ describe Service do describe "Template" do describe "for pushover service" do - let(:service_template) { - PushoverService.create(template: true, properties: { device: 'MyDevice', sound: 'mic', priority: 4, api_key: '123456789' }) - } + let(:service_template) do + PushoverService.create( + template: true, + properties: { + device: 'MyDevice', + sound: 'mic', + priority: 4, + api_key: '123456789' + }) + end let(:project) { create(:project) } describe 'should be prefilled for projects pushover service' do |