furi 0.0.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
data/spec/spec_helper.rb DELETED
@@ -1,75 +0,0 @@
1
- $LOAD_PATH << "./lib"
2
- require "furi"
3
- RSpec.configure do |config|
4
- # rspec-expectations config goes here. You can use an alternate
5
- # assertion/expectation library such as wrong or the stdlib/minitest
6
- # assertions if you prefer.
7
- config.expect_with :rspec do |expectations|
8
- # This option will default to `true` in RSpec 4. It makes the `description`
9
- # and `failure_message` of custom matchers include text for helper methods
10
- # defined using `chain`, e.g.:
11
- # be_bigger_than(2).and_smaller_than(4).description
12
- # # => "be bigger than 2 and smaller than 4"
13
- # ...rather than:
14
- # # => "be bigger than 2"
15
- expectations.include_chain_clauses_in_custom_matcher_descriptions = true
16
- end
17
-
18
- # rspec-mocks config goes here. You can use an alternate test double
19
- # library (such as bogus or mocha) by changing the `mock_with` option here.
20
- config.mock_with :rspec do |mocks|
21
- # Prevents you from mocking or stubbing a method that does not exist on
22
- # a real object. This is generally recommended, and will default to
23
- # `true` in RSpec 4.
24
- mocks.verify_partial_doubles = true
25
- end
26
-
27
- # The settings below are suggested to provide a good initial experience
28
- # with RSpec, but feel free to customize to your heart's content.
29
- =begin
30
- # These two settings work together to allow you to limit a spec run
31
- # to individual examples or groups you care about by tagging them with
32
- # `:focus` metadata. When nothing is tagged with `:focus`, all examples
33
- # get run.
34
- config.filter_run :focus
35
- config.run_all_when_everything_filtered = true
36
-
37
- # Limits the available syntax to the non-monkey patched syntax that is
38
- # recommended. For more details, see:
39
- # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
40
- # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
41
- # - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
42
- config.disable_monkey_patching!
43
-
44
- # This setting enables warnings. It's recommended, but in some cases may
45
- # be too noisy due to issues in dependencies.
46
- config.warnings = true
47
-
48
- # Many RSpec users commonly either run the entire suite or an individual
49
- # file, and it's useful to allow more verbose output when running an
50
- # individual spec file.
51
- if config.files_to_run.one?
52
- # Use the documentation formatter for detailed output,
53
- # unless a formatter has already been configured
54
- # (e.g. via a command-line flag).
55
- config.default_formatter = 'doc'
56
- end
57
-
58
- # Print the 10 slowest examples and example groups at the
59
- # end of the spec run, to help surface which specs are running
60
- # particularly slow.
61
- config.profile_examples = 10
62
-
63
- # Run specs in random order to surface order dependencies. If you find an
64
- # order dependency and want to debug it, you can fix the order by providing
65
- # the seed, which is printed after each run.
66
- # --seed 1234
67
- config.order = :random
68
-
69
- # Seed global randomization in this process using the `--seed` CLI option.
70
- # Setting this allows you to use `--seed` to deterministically reproduce
71
- # test failures related to randomization by passing the same `--seed` value
72
- # as the one that triggered the failure.
73
- Kernel.srand config.seed
74
- =end
75
- end