Skip to content

Commit 2089e5a

Browse files
committedJan 11, 2019
treat rspec settings
1 parent 1c60996 commit 2089e5a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎.rspec

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
--color
22
--format documentation
3+
--exclude-pattern "spec/shared/*_spec.rb"

‎spec/spec_helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
Dir["#{File.dirname(__FILE__)}/shared/**/*.rb"].each {|f| require f}
1313

1414
RSpec.configure do |config|
15-
config.treat_symbols_as_metadata_keys_with_true_values = true
1615
config.run_all_when_everything_filtered = true
1716
config.filter_run :focus
17+
config.expect_with(:rspec) { |c| c.syntax = :should }
1818
end

0 commit comments

Comments
 (0)
Please sign in to comment.