Commit 54a46474 authored by Beat Seeliger's avatar Beat Seeliger

Merge branch 'develop' of git.panter.ch:open-source/aoz-003 into develop

parents 827a384d 134a3963
Pipeline #46638 passed with stage
in 38 minutes and 2 seconds
......@@ -18,6 +18,7 @@ variables:
DATABASE_URL: "postgresql://postgres:postgres@localhost:5432/$POSTGRES_DB"
before_script:
- google-chrome --version
- node --version
- ruby --version
- yarn --version
......@@ -34,6 +35,9 @@ test:
system:
stage: test
script:
- CHROME_VERSION=$(google-chrome --version | sed -r 's/[^0-9]+([0-9]+\.[0-9]+\.[0-9]+).*/\1/g')
- CHROMEDRIVER_VERSION=$(curl -s https://chromedriver.storage.googleapis.com/LATEST_RELEASE_$CHROME_VERSION)
- bundle exec chromedriver-update $CHROMEDRIVER_VERSION
- bundle exec rails test:system
artifacts:
paths:
......
......@@ -14,12 +14,12 @@
.col-xs-4
= t('billing_expense_pdf.cost_center')
.col-xs-8
= '4182'
= '3120000'
.row
.col-xs-4
= t('billing_expense_pdf.account')
.col-xs-8
= '4621'
= '317000153'
.row
br=
.row
......@@ -88,12 +88,12 @@
p
= t('billing_expense_pdf.account')
br
'4621
'317000153
td
p
= t('billing_expense_pdf.kst')
br
'4182
'3120000
td
p
= t('billing_expense_pdf.amount')
......
......@@ -293,7 +293,7 @@ ActiveRecord::Schema.define(version: 20190314100216) do
end
create_table "events", force: :cascade do |t|
t.integer "kind", null: false
t.integer "kind"
t.date "date"
t.time "start_time"
t.time "end_time"
......
......@@ -182,8 +182,8 @@ class BillingExpensesTest < ApplicationSystemTestCase
click_link 'Anzeigen'
assert_text "Spesenauszahlung an #{@volunteer1}"
assert_text 'Kostenstelle 4182'
assert_text 'Konto 4621'
assert_text 'Kostenstelle 3120000'
assert_text 'Konto 317000153'
assert_text 'zu überweisender Betrag Fr. 50.00'
assert_text "Nachname #{@volunteer1.contact.last_name}"
assert_text "Vorname #{@volunteer1.contact.first_name}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment