Guardfile in ndd-rspec-0.1.1 vs Guardfile in ndd-rspec-1.0.0
- old
+ new
@@ -1,10 +1,6 @@
-# ----------------------------------------------------------------------------------------------------------------------
-# More info at https://github.com/guard/guard#readme
-# ----------------------------------------------------------------------------------------------------------------------
-
# ----------------------------------------------------------------------------------------------------------------------
# bundler
# ----------------------------------------------------------------------------------------------------------------------
guard 'bundler' do
@@ -15,11 +11,11 @@
# ----------------------------------------------------------------------------------------------------------------------
# spork (must be before rspec and cucumber)
# ----------------------------------------------------------------------------------------------------------------------
guard 'spork',
- :wait => 60 do
+ wait: 60 do
watch('Gemfile')
watch('Gemfile.lock')
# ----- spec directory
@@ -29,13 +25,10 @@
# ----------------------------------------------------------------------------------------------------------------------
# rspec
# ----------------------------------------------------------------------------------------------------------------------
-guard 'rspec',
- :all_after_pass => false,
- :all_on_start => false,
- :cli => '--colour --drb --format documentation --tag focused' do
+guard :rspec, cmd: 'bundle exec rspec' do
# ----- lib directory
watch(%r{^lib/(.+)\.rb$}) { |m| %W(spec/#{m[1]}_spec.rb) }
# ----- spec directory