-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathspec_helper.rb
More file actions
35 lines (30 loc) · 949 Bytes
/
spec_helper.rb
File metadata and controls
35 lines (30 loc) · 949 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
##
## spec_helper.rb
## Login : <lta@still>
## Started on Wed Jun 12 14:07:00 2013 Lta Akr
## $Id$
##
## Author(s):
## - Lta Akr <>
##
## Copyright (C) 2013 Lta Akr
EXERCICES_PATH = File.expand_path(File.join(File.dirname(__FILE__), '..', 'exos'))
CORRECTION_PATH = File.expand_path(File.join(File.dirname(__FILE__), '..', 'correction'))
$: << EXERCICES_PATH << CORRECTION_PATH
RSpec.configure do |config|
# ## Mock Framework
#
# If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
#
# config.mock_with :mocha
# config.mock_with :flexmock
# config.mock_with :rr
# Run specs in random order to surface order dependencies. If you find an
# order dependency and want to debug it, you can fix the order by providing
# the seed, which is printed after each run.
# --seed 1234
config.order = "random"
# # Syntactic sugar
# config.alias_example_to :they
# config.alias_example_to :there
end