Sha256: e176ce4a8838b7d6c3c5b534ad4359c0272bd50619731d97fb38ce3e2aeae09f
Contents?: true
Size: 491 Bytes
Versions: 22
Compression:
Stored size: 491 Bytes
Contents
require 'test_helper' class Kaui::InvoiceItemsControllerTest < ActionController::TestCase fixtures :invoice_items test "should get index" do get :index assert_response :success end test "should find invoice item by id" do item = invoice_items(:recurring_item_for_pierre) get :show, :id => item["invoiceItemId"], :invoice_id => item["invoiceId"] assert_response :success assert_equal assigns(:invoice_item).invoice_item_id, item["invoiceItemId"] end end
Version data entries
22 entries across 22 versions & 1 rubygems