Sha256: da952ed57fdd24ae4d24db98e74f2f075115bb5e6943ac416ecba17b92b511d8
Contents?: true
Size: 593 Bytes
Versions: 11
Compression:
Stored size: 593 Bytes
Contents
require 'test_helper' class Kaui::AccountTimelinesControllerTest < Kaui::FunctionalTestHelper test 'should show the lookup page' do get :index assert_response 200 end test 'should show the timeline page' do get :show, :id => @account.account_id assert_response 200 assert_not_nil assigns(:account) assert_not_nil assigns(:timeline) assert_not_nil assigns(:invoices_by_id) assert_equal @account.account_id, assigns(:account).account_id assert_equal @invoice_item.invoice_id, assigns(:invoices_by_id)[@invoice_item.invoice_id].invoice_id end end
Version data entries
11 entries across 11 versions & 1 rubygems