Use ruby 2.x hash syntax

This commit is contained in:
Thibault Jouan
2014-04-01 10:48:18 +00:00
parent 712e9501a2
commit da96c4814a
52 changed files with 148 additions and 148 deletions

View File

@@ -1,4 +1,4 @@
guard 'spork', :rspec_env => { 'RAILS_ENV' => 'test' } do
guard 'spork', rspec_env: { RAILS_ENV: 'test' } do
watch('config/application.rb')
watch('config/environment.rb')
watch('config/routes.rb')
@@ -8,7 +8,7 @@ guard 'spork', :rspec_env => { 'RAILS_ENV' => 'test' } do
watch(%r{^spec/support/.+\.rb$})
end
guard 'rspec', :cmd => 'bundle exec rspec --drb -f doc' do
guard 'rspec', cmd: 'bundle exec rspec --drb -f doc' do
watch(%r{^spec/.+_spec\.rb$})
watch('spec/spec_helper.rb') { 'spec' }