Use setup block instead of method in tests

#623
This commit is contained in:
Artur Beljajev 2018-04-12 17:31:04 +03:00
parent a8046ce9cf
commit 963f6f87cf
6 changed files with 6 additions and 6 deletions

View file

@ -1,7 +1,7 @@
require 'test_helper'
class InvoiceTest < ActiveSupport::TestCase
def setup
setup do
@invoice = invoices(:valid)
end