Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: ity":1,"price":200}"=>{}}=>nil}}, "format"=>:json, "action"=>"create", "controller"=>"api/v1/invoices"} require 'test_helper' class CreatingInvoiceTest < ActionDispatch::IntegrationTest setup do @user = User.create!(username: 'foo@example.com', password: '123456') end test 'Creating Invoice' do post('/api/v1/invoices', { invoice: { document_no: 'A-500001', customer_id: 1, currency_id: 1, date: Time.now, due_date: Time.now, notes: 'dasdfsdf', t Source: http://pastebin.com/raw.php?i=mtdW3v8B
↧