Feature tests for account activities

This commit is contained in:
Martin Lensment 2015-04-16 14:26:48 +03:00
parent e4dc1d466f
commit c4b0d6aee5
7 changed files with 45 additions and 4 deletions

View file

@ -3,7 +3,7 @@ require 'rails_helper'
describe Repp::AccountV1 do
before :all do
@registrar1 = Fabricate(:registrar1, accounts:
[Fabricate(:account, { balance: '324.45' })]
[Fabricate(:account, { balance: '324.45', account_activities: [] })]
)
@api_user = Fabricate(:gitlab_api_user, registrar: @registrar1)
end