Fixed guardfile to close #321

This commit is contained in:
John Poulin
2018-02-23 12:19:31 -05:00
parent 67e1365e52
commit bc7b6d6f15
+1 -1
View File
@@ -23,7 +23,7 @@ guard "livereload", host: "railsgoat.dev", port: "35727" do
end end
guard "rspec" do guard :rspec, cmd: 'bundle exec rspec' do
watch(%r{^spec/.+_spec\.rb$}) watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" } watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
watch("spec/spec_helper.rb") { "spec" } watch("spec/spec_helper.rb") { "spec" }