cmor_files 0.0.51.pre → 0.0.52.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- metadata +6 -138
- data/spec/config/locales/de.yml +0 -3
- data/spec/dummy/Rakefile +0 -6
- data/spec/dummy/app/assets/config/manifest.js +0 -3
- data/spec/dummy/app/assets/javascripts/application.js +0 -15
- data/spec/dummy/app/assets/javascripts/cable.js +0 -13
- data/spec/dummy/app/assets/stylesheets/application.css +0 -15
- data/spec/dummy/app/channels/application_cable/channel.rb +0 -4
- data/spec/dummy/app/channels/application_cable/connection.rb +0 -4
- data/spec/dummy/app/controllers/application_controller.rb +0 -2
- data/spec/dummy/app/helpers/application_helper.rb +0 -2
- data/spec/dummy/app/jobs/application_job.rb +0 -2
- data/spec/dummy/app/mailers/application_mailer.rb +0 -4
- data/spec/dummy/app/models/application_record.rb +0 -3
- data/spec/dummy/app/views/layouts/application.html.erb +0 -15
- data/spec/dummy/app/views/layouts/mailer.html.erb +0 -13
- data/spec/dummy/app/views/layouts/mailer.text.erb +0 -1
- data/spec/dummy/bin/bundle +0 -3
- data/spec/dummy/bin/rails +0 -4
- data/spec/dummy/bin/rake +0 -4
- data/spec/dummy/bin/setup +0 -36
- data/spec/dummy/bin/update +0 -31
- data/spec/dummy/bin/yarn +0 -11
- data/spec/dummy/config.ru +0 -5
- data/spec/dummy/config/application.rb +0 -30
- data/spec/dummy/config/boot.rb +0 -5
- data/spec/dummy/config/cable.yml +0 -10
- data/spec/dummy/config/database.yml +0 -25
- data/spec/dummy/config/environment.rb +0 -5
- data/spec/dummy/config/environments/development.rb +0 -61
- data/spec/dummy/config/environments/production.rb +0 -94
- data/spec/dummy/config/environments/test.rb +0 -46
- data/spec/dummy/config/initializers/application_controller_renderer.rb +0 -8
- data/spec/dummy/config/initializers/assets.rb +0 -14
- data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/dummy/config/initializers/cmor_files.rb +0 -7
- data/spec/dummy/config/initializers/content_security_policy.rb +0 -25
- data/spec/dummy/config/initializers/cookies_serializer.rb +0 -5
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -4
- data/spec/dummy/config/initializers/i18n.rb +0 -2
- data/spec/dummy/config/initializers/inflections.rb +0 -16
- data/spec/dummy/config/initializers/mime_types.rb +0 -4
- data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/spec/dummy/config/locales/en.yml +0 -33
- data/spec/dummy/config/puma.rb +0 -34
- data/spec/dummy/config/routes.rb +0 -6
- data/spec/dummy/config/spring.rb +0 -6
- data/spec/dummy/config/storage.yml +0 -34
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20200119054027_create_active_storage_tables.active_storage.rb +0 -27
- data/spec/dummy/db/migrate/20200119054052_create_cmor_files_folders.cmor_files.rb +0 -12
- data/spec/dummy/db/migrate/20200119054053_create_cmor_files_file_details.cmor_files.rb +0 -14
- data/spec/dummy/db/schema.rb +0 -54
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +0 -122
- data/spec/dummy/log/test.log +0 -143
- data/spec/dummy/package.json +0 -5
- data/spec/dummy/public/404.html +0 -67
- data/spec/dummy/public/422.html +0 -67
- data/spec/dummy/public/500.html +0 -66
- data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/dummy/public/apple-touch-icon.png +0 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/tmp/development_secret.txt +0 -1
- data/spec/dummy/tmp/storage/5Z/Lz/5ZLz1RnTjSv6JxA2kxa6Wfdj +0 -0
- data/spec/dummy/tmp/storage/Qc/Te/QcTeyM8PiNUmVbGyawobiMy1 +0 -0
- data/spec/dummy~/Rakefile +0 -6
- data/spec/dummy~/app/assets/config/manifest.js +0 -4
- data/spec/dummy~/app/assets/javascripts/application.js +0 -14
- data/spec/dummy~/app/assets/javascripts/cable.js +0 -13
- data/spec/dummy~/app/assets/stylesheets/application.css +0 -15
- data/spec/dummy~/app/channels/application_cable/channel.rb +0 -4
- data/spec/dummy~/app/channels/application_cable/connection.rb +0 -4
- data/spec/dummy~/app/controllers/application_controller.rb +0 -2
- data/spec/dummy~/app/helpers/application_helper.rb +0 -2
- data/spec/dummy~/app/jobs/application_job.rb +0 -2
- data/spec/dummy~/app/mailers/application_mailer.rb +0 -4
- data/spec/dummy~/app/models/application_record.rb +0 -3
- data/spec/dummy~/app/views/layouts/application.html.erb +0 -14
- data/spec/dummy~/app/views/layouts/mailer.html.erb +0 -13
- data/spec/dummy~/app/views/layouts/mailer.text.erb +0 -1
- data/spec/dummy~/bin/bundle +0 -3
- data/spec/dummy~/bin/rails +0 -4
- data/spec/dummy~/bin/rake +0 -4
- data/spec/dummy~/bin/setup +0 -36
- data/spec/dummy~/bin/update +0 -31
- data/spec/dummy~/bin/yarn +0 -11
- data/spec/dummy~/config.ru +0 -5
- data/spec/dummy~/config/application.rb +0 -30
- data/spec/dummy~/config/boot.rb +0 -5
- data/spec/dummy~/config/cable.yml +0 -10
- data/spec/dummy~/config/database.yml +0 -25
- data/spec/dummy~/config/environment.rb +0 -5
- data/spec/dummy~/config/environments/development.rb +0 -61
- data/spec/dummy~/config/environments/production.rb +0 -94
- data/spec/dummy~/config/environments/test.rb +0 -46
- data/spec/dummy~/config/initializers/application_controller_renderer.rb +0 -8
- data/spec/dummy~/config/initializers/assets.rb +0 -14
- data/spec/dummy~/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/dummy~/config/initializers/cmor/files.rb +0 -7
- data/spec/dummy~/config/initializers/content_security_policy.rb +0 -22
- data/spec/dummy~/config/initializers/cookies_serializer.rb +0 -5
- data/spec/dummy~/config/initializers/filter_parameter_logging.rb +0 -4
- data/spec/dummy~/config/initializers/inflections.rb +0 -16
- data/spec/dummy~/config/initializers/mime_types.rb +0 -4
- data/spec/dummy~/config/initializers/wrap_parameters.rb +0 -14
- data/spec/dummy~/config/locales/en.yml +0 -33
- data/spec/dummy~/config/puma.rb +0 -34
- data/spec/dummy~/config/routes.rb +0 -3
- data/spec/dummy~/config/spring.rb +0 -6
- data/spec/dummy~/config/storage.yml +0 -35
- data/spec/dummy~/db/development.sqlite3 +0 -0
- data/spec/dummy~/db/schema.rb +0 -41
- data/spec/dummy~/db/test.sqlite3 +0 -0
- data/spec/dummy~/package.json +0 -5
- data/spec/dummy~/public/404.html +0 -67
- data/spec/dummy~/public/422.html +0 -67
- data/spec/dummy~/public/500.html +0 -66
- data/spec/dummy~/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/dummy~/public/apple-touch-icon.png +0 -0
- data/spec/dummy~/public/favicon.ico +0 -0
- data/spec/factories/cmor_files_file_details.rb +0 -17
- data/spec/factories/cmor_files_folders.rb +0 -6
- data/spec/models/cmor/files/file_detail_spec.rb +0 -7
- data/spec/models/cmor/files/folder_spec.rb +0 -12
- data/spec/models/generic_spec.rb +0 -50
- data/spec/models/i18n_spec.rb +0 -41
- data/spec/rails_helper.rb +0 -62
- data/spec/spec_helper.rb +0 -96
- data/spec/support/capybara.rb +0 -1
- data/spec/support/factory_bot.rb +0 -5
- data/spec/support/rao-shoulda_matchers.rb +0 -5
- data/spec/support/shoulda_matchers.rb +0 -8
data/spec/spec_helper.rb
DELETED
@@ -1,96 +0,0 @@
|
|
1
|
-
# This file was generated by the `rails generate rspec:install` command. Conventionally, all
|
2
|
-
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
3
|
-
# The generated `.rspec` file contains `--require spec_helper` which will cause
|
4
|
-
# this file to always be loaded, without a need to explicitly require it in any
|
5
|
-
# 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
|
13
|
-
# it.
|
14
|
-
#
|
15
|
-
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
16
|
-
RSpec.configure do |config|
|
17
|
-
# rspec-expectations config goes here. You can use an alternate
|
18
|
-
# assertion/expectation library such as wrong or the stdlib/minitest
|
19
|
-
# assertions if you prefer.
|
20
|
-
config.expect_with :rspec do |expectations|
|
21
|
-
# This option will default to `true` in RSpec 4. It makes the `description`
|
22
|
-
# and `failure_message` of custom matchers include text for helper methods
|
23
|
-
# defined using `chain`, e.g.:
|
24
|
-
# be_bigger_than(2).and_smaller_than(4).description
|
25
|
-
# # => "be bigger than 2 and smaller than 4"
|
26
|
-
# ...rather than:
|
27
|
-
# # => "be bigger than 2"
|
28
|
-
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
29
|
-
end
|
30
|
-
|
31
|
-
# rspec-mocks config goes here. You can use an alternate test double
|
32
|
-
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
33
|
-
config.mock_with :rspec do |mocks|
|
34
|
-
# Prevents you from mocking or stubbing a method that does not exist on
|
35
|
-
# a real object. This is generally recommended, and will default to
|
36
|
-
# `true` in RSpec 4.
|
37
|
-
mocks.verify_partial_doubles = true
|
38
|
-
end
|
39
|
-
|
40
|
-
# This option will default to `:apply_to_host_groups` in RSpec 4 (and will
|
41
|
-
# have no way to turn it off -- the option exists only for backwards
|
42
|
-
# compatibility in RSpec 3). It causes shared context metadata to be
|
43
|
-
# inherited by the metadata hash of host groups and examples, rather than
|
44
|
-
# triggering implicit auto-inclusion in groups with matching metadata.
|
45
|
-
config.shared_context_metadata_behavior = :apply_to_host_groups
|
46
|
-
|
47
|
-
# The settings below are suggested to provide a good initial experience
|
48
|
-
# with RSpec, but feel free to customize to your heart's content.
|
49
|
-
=begin
|
50
|
-
# This allows you to limit a spec run to individual examples or groups
|
51
|
-
# you care about by tagging them with `:focus` metadata. When nothing
|
52
|
-
# is tagged with `:focus`, all examples get run. RSpec also provides
|
53
|
-
# aliases for `it`, `describe`, and `context` that include `:focus`
|
54
|
-
# metadata: `fit`, `fdescribe` and `fcontext`, respectively.
|
55
|
-
config.filter_run_when_matching :focus
|
56
|
-
|
57
|
-
# Allows RSpec to persist some state between runs in order to support
|
58
|
-
# the `--only-failures` and `--next-failure` CLI options. We recommend
|
59
|
-
# you configure your source control system to ignore this file.
|
60
|
-
config.example_status_persistence_file_path = "spec/examples.txt"
|
61
|
-
|
62
|
-
# Limits the available syntax to the non-monkey patched syntax that is
|
63
|
-
# recommended. For more details, see:
|
64
|
-
# - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
|
65
|
-
# - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
66
|
-
# - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
|
67
|
-
config.disable_monkey_patching!
|
68
|
-
|
69
|
-
# Many RSpec users commonly either run the entire suite or an individual
|
70
|
-
# file, and it's useful to allow more verbose output when running an
|
71
|
-
# individual spec file.
|
72
|
-
if config.files_to_run.one?
|
73
|
-
# Use the documentation formatter for detailed output,
|
74
|
-
# unless a formatter has already been configured
|
75
|
-
# (e.g. via a command-line flag).
|
76
|
-
config.default_formatter = "doc"
|
77
|
-
end
|
78
|
-
|
79
|
-
# Print the 10 slowest examples and example groups at the
|
80
|
-
# end of the spec run, to help surface which specs are running
|
81
|
-
# particularly slow.
|
82
|
-
config.profile_examples = 10
|
83
|
-
|
84
|
-
# Run specs in random order to surface order dependencies. If you find an
|
85
|
-
# order dependency and want to debug it, you can fix the order by providing
|
86
|
-
# the seed, which is printed after each run.
|
87
|
-
# --seed 1234
|
88
|
-
config.order = :random
|
89
|
-
|
90
|
-
# Seed global randomization in this process using the `--seed` CLI option.
|
91
|
-
# Setting this allows you to use `--seed` to deterministically reproduce
|
92
|
-
# test failures related to randomization by passing the same `--seed` value
|
93
|
-
# as the one that triggered the failure.
|
94
|
-
Kernel.srand config.seed
|
95
|
-
=end
|
96
|
-
end
|
data/spec/support/capybara.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
require 'capybara'
|
data/spec/support/factory_bot.rb
DELETED