dorsale 3.14.3 → 3.14.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/Rakefile +2 -0
- data/app/pdfs/dorsale/application_pdf.rb +11 -1
- data/app/pdfs/dorsale/expense_gun/expense_pdf.rb +75 -0
- data/app/views/dorsale/expense_gun/expenses/_show_actions.html.slim +2 -0
- data/app/views/dorsale/expense_gun/expenses/show.pdf.ruby +3 -0
- data/lib/dorsale/version.rb +1 -1
- metadata +125 -358
- data/features/access.feature +0 -17
- data/features/billing_machine_invoices.feature +0 -261
- data/features/billing_machine_multiple_vat.feature +0 -53
- data/features/billing_machine_payment_terms.feature +0 -19
- data/features/billing_machine_quotations.feature +0 -193
- data/features/customer_vault_activity_types.feature +0 -19
- data/features/customer_vault_corporations.feature +0 -95
- data/features/customer_vault_filters.feature +0 -14
- data/features/customer_vault_individuals.feature +0 -35
- data/features/customer_vault_invoices.feature +0 -10
- data/features/customer_vault_links.feature +0 -54
- data/features/customer_vault_origins.feature +0 -19
- data/features/customer_vault_people.feature +0 -25
- data/features/customer_vault_search.feature +0 -22
- data/features/customer_vault_tasks.feature +0 -35
- data/features/expense_gun_categories.feature +0 -19
- data/features/expense_gun_expenses.feature +0 -60
- data/features/flyboy_task_comments.feature +0 -21
- data/features/flyboy_tasks.feature +0 -122
- data/features/flyboy_tasks_summary.feature +0 -22
- data/features/step_definitions/access_steps.rb +0 -15
- data/features/step_definitions/alexandrie_steps.rb +0 -25
- data/features/step_definitions/billing_machine_invoices_steps.rb +0 -377
- data/features/step_definitions/billing_machine_multiple_vat.rb +0 -19
- data/features/step_definitions/billing_machine_payment_terms_steps.rb +0 -42
- data/features/step_definitions/billing_machine_quotations_steps.rb +0 -248
- data/features/step_definitions/common_steps.rb +0 -91
- data/features/step_definitions/customer_vault_activity_types_steps.rb +0 -42
- data/features/step_definitions/customer_vault_corporations_steps.rb +0 -218
- data/features/step_definitions/customer_vault_filters_steps.rb +0 -37
- data/features/step_definitions/customer_vault_individuals_steps.rb +0 -67
- data/features/step_definitions/customer_vault_invoices_steps.rb +0 -7
- data/features/step_definitions/customer_vault_links_steps.rb +0 -73
- data/features/step_definitions/customer_vault_origins_steps.rb +0 -42
- data/features/step_definitions/customer_vault_people_steps.rb +0 -26
- data/features/step_definitions/customer_vault_search_steps.rb +0 -48
- data/features/step_definitions/customer_vault_tasks_steps.rb +0 -34
- data/features/step_definitions/expense_gun_categories_steps.rb +0 -50
- data/features/step_definitions/expense_gun_expenses_steps.rb +0 -135
- data/features/step_definitions/flyboy_task_comments_steps.rb +0 -10
- data/features/step_definitions/flyboy_tasks_steps.rb +0 -196
- data/features/step_definitions/tasks_summary_steps.rb +0 -30
- data/features/step_definitions/users_management_step.rb +0 -29
- data/features/support/env.rb +0 -8
- data/features/users_management.feature +0 -18
- data/spec/controllers/dorsale/alexandrie/attachments_controller_spec.rb +0 -145
- data/spec/controllers/dorsale/billing_machine/invoices_controller_spec.rb +0 -153
- data/spec/controllers/dorsale/billing_machine/quotations_controller_spec.rb +0 -24
- data/spec/controllers/dorsale/comments_controller_spec.rb +0 -50
- data/spec/controllers/dorsale/customer_vault/events_controller_spec.rb +0 -42
- data/spec/controllers/dorsale/customer_vault/people_controller_spec.rb +0 -129
- data/spec/controllers/dorsale/expense_gun/expenses_controller_spec.rb +0 -45
- data/spec/controllers/dorsale/flyboy/task_comments_controller_spec.rb +0 -40
- data/spec/controllers/dorsale/flyboy/tasks_controller_spec.rb +0 -349
- data/spec/factories/alexandrie_attachment_types.rb +0 -5
- data/spec/factories/alexandrie_attachments.rb +0 -16
- data/spec/factories/billing_machine_invoice_lines.rb +0 -9
- data/spec/factories/billing_machine_invoices.rb +0 -9
- data/spec/factories/billing_machine_payment_terms.rb +0 -5
- data/spec/factories/billing_machine_quotation_lines.rb +0 -9
- data/spec/factories/billing_machine_quotations.rb +0 -9
- data/spec/factories/customer_vault_activity_types.rb +0 -5
- data/spec/factories/customer_vault_corporations.rb +0 -13
- data/spec/factories/customer_vault_event.rb +0 -13
- data/spec/factories/customer_vault_individuals.rb +0 -17
- data/spec/factories/customer_vault_links.rb +0 -7
- data/spec/factories/customer_vault_origins.rb +0 -5
- data/spec/factories/dorsale_addresses.rb +0 -9
- data/spec/factories/dorsale_comments.rb +0 -7
- data/spec/factories/expense_gun_categories.rb +0 -7
- data/spec/factories/expense_gun_expense_lines.rb +0 -10
- data/spec/factories/expense_gun_expenses.rb +0 -13
- data/spec/factories/flyboy_task_comments.rb +0 -9
- data/spec/factories/flyboy_tasks.rb +0 -8
- data/spec/files/avatar.png +0 -0
- data/spec/files/pdf.pdf +0 -0
- data/spec/mailers/user_mailer_spec.rb +0 -21
- data/spec/models/dorsale/address_spec.rb +0 -46
- data/spec/models/dorsale/alexandrie/attachment_spec.rb +0 -36
- data/spec/models/dorsale/alexandrie/attachment_type_spec.rb +0 -11
- data/spec/models/dorsale/billing_machine/invoice_line_spec.rb +0 -52
- data/spec/models/dorsale/billing_machine/invoice_spec.rb +0 -258
- data/spec/models/dorsale/billing_machine/quotation_line_spec.rb +0 -51
- data/spec/models/dorsale/billing_machine/quotation_spec.rb +0 -213
- data/spec/models/dorsale/billing_machine_spec.rb +0 -57
- data/spec/models/dorsale/comment_spec.rb +0 -24
- data/spec/models/dorsale/customer_vault/activity_type_spec.rb +0 -10
- data/spec/models/dorsale/customer_vault/corporation_spec.rb +0 -33
- data/spec/models/dorsale/customer_vault/event_spec.rb +0 -22
- data/spec/models/dorsale/customer_vault/individual_spec.rb +0 -44
- data/spec/models/dorsale/customer_vault/link_spec.rb +0 -14
- data/spec/models/dorsale/customer_vault/origin_spec.rb +0 -8
- data/spec/models/dorsale/customer_vault/person_spec.rb +0 -112
- data/spec/models/dorsale/email_spec.rb +0 -39
- data/spec/models/dorsale/expense_gun/category_spec.rb +0 -9
- data/spec/models/dorsale/expense_gun/expense_line_spec.rb +0 -59
- data/spec/models/dorsale/expense_gun/expense_spec.rb +0 -176
- data/spec/models/dorsale/flyboy/task_comment_spec.rb +0 -54
- data/spec/models/dorsale/flyboy/task_spec.rb +0 -254
- data/spec/models/dorsale/i18n_spec.rb +0 -30
- data/spec/models/dorsale/users_spec.rb +0 -65
- data/spec/pdfs/dorsale/billing_machine/invoice_multiple_vat_pdf_spec.rb +0 -42
- data/spec/pdfs/dorsale/billing_machine/invoice_single_vat_pdf_spec.rb +0 -42
- data/spec/pdfs/dorsale/billing_machine/quotation_multiple_vat_pdf_spec.rb +0 -42
- data/spec/pdfs/dorsale/billing_machine/quotation_single_vat_pdf_spec.rb +0 -55
- data/spec/rails_helper.rb +0 -55
- data/spec/routing/dorsale/alexandrie/attachments_routing_spec.rb +0 -32
- data/spec/routing/dorsale/billing_machine/invoices_routing_spec.rb +0 -67
- data/spec/routing/dorsale/billing_machine/quotations_routing_spec.rb +0 -67
- data/spec/routing/dorsale/comments_routing_spec.rb +0 -23
- data/spec/routing/dorsale/customer_vault/activity_types_routing_spec.rb +0 -40
- data/spec/routing/dorsale/customer_vault/events_routing_spec.rb +0 -12
- data/spec/routing/dorsale/customer_vault/origins_routing_spec.rb +0 -40
- data/spec/routing/dorsale/customer_vault/people_routing_spec.rb +0 -109
- data/spec/routing/dorsale/expense_gun/expenses_routing_spec.rb +0 -62
- data/spec/routing/dorsale/flyboy/task_comments_routing_spec.rb +0 -11
- data/spec/routing/dorsale/flyboy/tasks_routing_spec.rb +0 -51
- data/spec/routing/dorsale/users_routing_spec.rb +0 -38
- data/spec/services/dorsale/billing_machine/quotation/copy_spec.rb +0 -55
- data/spec/services/dorsale/billing_machine/quotation/statistics.rb +0 -23
- data/spec/services/dorsale/billing_machine/quotation/to_invoice_spec.rb +0 -46
- data/spec/services/dorsale/expense_gun/expense/copy_spec.rb +0 -83
- data/spec/services/dorsale/flyboy/task/copy_spec.rb +0 -24
- data/spec/services/dorsale/flyboy/task/snoozer_spec.rb +0 -117
- data/spec/spec_helper.rb +0 -86
- data/spec/support/devise.rb +0 -3
- data/spec/support/message_delivery.rb +0 -5
data/spec/spec_helper.rb
DELETED
@@ -1,86 +0,0 @@
|
|
1
|
-
require "simplecov"
|
2
|
-
# This file was generated by the `rails generate rspec:install` command. Conventionally, all
|
3
|
-
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
4
|
-
# The generated `.rspec` file contains `--require spec_helper` which will cause this
|
5
|
-
# file to always be loaded, without a need to explicitly require it in any files.
|
6
|
-
#
|
7
|
-
# Given that it is always loaded, you are encouraged to keep this file as
|
8
|
-
# light-weight as possible. Requiring heavyweight dependencies from this file
|
9
|
-
# will add to the boot time of your test suite on EVERY test run, even for an
|
10
|
-
# individual file that may not need all of that loaded. Instead, consider making
|
11
|
-
# a separate helper file that requires the additional dependencies and performs
|
12
|
-
# the additional setup, and require it from the spec files that actually need it.
|
13
|
-
#
|
14
|
-
# The `.rspec` file also contains a few flags that are not defaults but that
|
15
|
-
# users commonly want.
|
16
|
-
#
|
17
|
-
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
18
|
-
RSpec.configure do |config|
|
19
|
-
# rspec-expectations config goes here. You can use an alternate
|
20
|
-
# assertion/expectation library such as wrong or the stdlib/minitest
|
21
|
-
# assertions if you prefer.
|
22
|
-
config.expect_with :rspec do |expectations|
|
23
|
-
# This option will default to `true` in RSpec 4. It makes the `description`
|
24
|
-
# and `failure_message` of custom matchers include text for helper methods
|
25
|
-
# defined using `chain`, e.g.:
|
26
|
-
# be_bigger_than(2).and_smaller_than(4).description
|
27
|
-
# # => "be bigger than 2 and smaller than 4"
|
28
|
-
# ...rather than:
|
29
|
-
# # => "be bigger than 2"
|
30
|
-
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
31
|
-
end
|
32
|
-
|
33
|
-
# rspec-mocks config goes here. You can use an alternate test double
|
34
|
-
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
35
|
-
config.mock_with :rspec do |mocks|
|
36
|
-
# Prevents you from mocking or stubbing a method that does not exist on
|
37
|
-
# a real object. This is generally recommended, and will default to
|
38
|
-
# `true` in RSpec 4.
|
39
|
-
mocks.verify_partial_doubles = true
|
40
|
-
end
|
41
|
-
|
42
|
-
# The settings below are suggested to provide a good initial experience
|
43
|
-
# with RSpec, but feel free to customize to your heart's content.
|
44
|
-
=begin
|
45
|
-
# These two settings work together to allow you to limit a spec run
|
46
|
-
# to individual examples or groups you care about by tagging them with
|
47
|
-
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
48
|
-
# get run.
|
49
|
-
config.filter_run :focus
|
50
|
-
config.run_all_when_everything_filtered = true
|
51
|
-
|
52
|
-
# Limits the available syntax to the non-monkey patched syntax that is recommended.
|
53
|
-
# For more details, see:
|
54
|
-
# - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
|
55
|
-
# - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
56
|
-
# - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
|
57
|
-
config.disable_monkey_patching!
|
58
|
-
|
59
|
-
# Many RSpec users commonly either run the entire suite or an individual
|
60
|
-
# file, and it's useful to allow more verbose output when running an
|
61
|
-
# individual spec file.
|
62
|
-
if config.files_to_run.one?
|
63
|
-
# Use the documentation formatter for detailed output,
|
64
|
-
# unless a formatter has already been configured
|
65
|
-
# (e.g. via a command-line flag).
|
66
|
-
config.default_formatter = 'doc'
|
67
|
-
end
|
68
|
-
|
69
|
-
# Print the 10 slowest examples and example groups at the
|
70
|
-
# end of the spec run, to help surface which specs are running
|
71
|
-
# particularly slow.
|
72
|
-
config.profile_examples = 10
|
73
|
-
|
74
|
-
# Run specs in random order to surface order dependencies. If you find an
|
75
|
-
# order dependency and want to debug it, you can fix the order by providing
|
76
|
-
# the seed, which is printed after each run.
|
77
|
-
# --seed 1234
|
78
|
-
config.order = :random
|
79
|
-
|
80
|
-
# Seed global randomization in this process using the `--seed` CLI option.
|
81
|
-
# Setting this allows you to use `--seed` to deterministically reproduce
|
82
|
-
# test failures related to randomization by passing the same `--seed` value
|
83
|
-
# as the one that triggered the failure.
|
84
|
-
Kernel.srand config.seed
|
85
|
-
=end
|
86
|
-
end
|
data/spec/support/devise.rb
DELETED