Created
January 20, 2018 14:21
-
-
Save kirillshevch/01a468da5a92876e8fc4fb424cc705b8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe StatisticsJob, job: true do | |
describe '.perform_async' do | |
it 'calls StatisticsService' do | |
expect(StatisticsService).to receive(:call) | |
StatisticsJob.perform_async | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment