Skip to content

Commit 4e2e410

Browse files
committedMar 4, 2017
Use doc formatter in Guard
1 parent 2b0556a commit 4e2e410

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎Guardfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
require 'active_support/inflector'
22

3-
guard :rspec, cmd: 'bin/rspec' do
3+
guard :rspec, cmd: 'bin/rspec -f doc' do
44
# spec/*_helper.rb -> all specs
55
watch(%r{spec/.*_helper.rb}) { 'spec' }
66
# spec/support/*.rb -> all specs

‎spec/spec_helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
# Allow filtering by "focus" tag
1515
if ENV['CI']
16-
config.before(focus: true) { fail "Bailing due to focused tests!" }
16+
config.before(focus: true) { raise 'Bailing due to focused tests!' }
1717
else
1818
config.filter_run :focus
1919
end

0 commit comments

Comments
 (0)
Please sign in to comment.