From b1f0bbe6e653e08a2c81d35865a16d92c4241a19 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Wed, 28 Jun 2017 10:24:36 +0200 Subject: [PATCH] Applied RSpec styleguide: Instance methods should start with '#' class with '.'. --- spec/models/ticket_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/models/ticket_spec.rb b/spec/models/ticket_spec.rb index 7125e116d..dd5b9edcc 100644 --- a/spec/models/ticket_spec.rb +++ b/spec/models/ticket_spec.rb @@ -2,7 +2,7 @@ require 'rails_helper' RSpec.describe Ticket do - describe '.merge_to' do + describe '#merge_to' do it 'reassigns all links to the target ticket after merge' do source_ticket = create(:ticket) @@ -63,7 +63,7 @@ RSpec.describe Ticket do end - describe '.destroy' do + describe '#destroy' do it 'deletes all related objects before destroy' do ApplicationHandleInfo.current = 'application_server' @@ -173,7 +173,7 @@ RSpec.describe Ticket do end - describe '.perform_changes' do + describe '#perform_changes' do it 'performes a ticket state change on a ticket' do source_ticket = create(:ticket)