Made OTRS import statistic method public to access it for plausibility check.

This commit is contained in:
Thorsten Eckel 2016-12-09 16:12:39 +01:00
parent c5f348ec82
commit 477fefc4e5
2 changed files with 5 additions and 2 deletions

View file

@ -21,8 +21,6 @@ module Import
}
end
private
def statistic
# check cache
@ -37,6 +35,8 @@ module Import
statistic
end
private
def base_done
::Group.count + ::Ticket::State.count + ::Ticket::Priority.count
end

View file

@ -2,4 +2,7 @@ RSpec.shared_examples 'Import::OTRS::ImportStats' do
it 'responds to current_state' do
expect(described_class).to respond_to('current_state')
end
it 'responds to statistic' do
expect(described_class).to respond_to('statistic')
end
end