File tree 2 files changed +10
-11
lines changed
2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 1
1
--color
2
- -r spec_helper
3
- -f documentation
2
+ --require spec_helper
Original file line number Diff line number Diff line change 1
- require ' simplecov'
2
- SimpleCov . start ' rails'
1
+ require " simplecov"
2
+ SimpleCov . start " rails"
3
3
4
- ENV [ ' RAILS_ENV' ] ||= ' test'
4
+ ENV [ " RAILS_ENV" ] ||= " test"
5
5
6
- require File . expand_path ( ' ../dummy/config/environment' , __FILE__ )
6
+ require File . expand_path ( " ../dummy/config/environment.rb" , __FILE__ )
7
7
8
- require 'rspec/rails'
9
- require 'shoulda-matchers'
10
- require 'ffaker'
8
+ require "rspec/rails"
9
+ require "shoulda-matchers"
10
+ require "ffaker"
11
+
12
+ Dir [ File . join ( File . dirname ( __FILE__ ) , "support/**/*.rb" ) ] . each { |f | require f }
11
13
12
14
RSpec . configure do |config |
13
15
config . infer_spec_type_from_file_location!
21
23
mock . syntax = [ :should , :expect ]
22
24
end
23
25
end
24
-
25
- Dir [ File . join ( File . dirname ( __FILE__ ) , 'support/**/*.rb' ) ] . each { |f | require f }
You can’t perform that action at this time.
0 commit comments