Skip to content

Instantly share code, notes, and snippets.

@AdrienBD
AdrienBD / download_stats_service_spec.rb
Created September 7, 2015 08:34
Empty diff in rspec test
describe 'self.index_download_stats' do
let(:stat_1) {Stat.create mobile_application_id: update_1.mobile_application.id,
store_id: store.id,
user_id: store.users[0].id,
mobile_application_update_id: update_1.id,
version: 1,
action: 'download',
created_at: 2.day.ago}
let(:stat_2) {Stat.create mobile_application_id: update_1.mobile_application.id,
store_id: store.id,