diff options
Diffstat (limited to 'billing/test/unit/customer_test.rb')
-rw-r--r-- | billing/test/unit/customer_test.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/billing/test/unit/customer_test.rb b/billing/test/unit/customer_test.rb index 2ea0b5e..6156f87 100644 --- a/billing/test/unit/customer_test.rb +++ b/billing/test/unit/customer_test.rb @@ -1,9 +1,11 @@ require 'test_helper' class CustomerTest < ActiveSupport::TestCase + include StubRecordHelper setup do - @customer = FactoryGirl.build(:customer) + @user = find_record :user + @customer = FactoryGirl.build(:customer, user: @user) end test "test set of attributes should be valid" do |