Skip to content

Commit

Permalink
Factored the specs into the correct directories
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Davey committed Oct 30, 2014
1 parent 40573f9 commit 3095b85
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions Guardfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
guard :rspec, cmd: 'bundle exec rspec' do
# watch /spec/ files
watch(%r{^spec/(.+).rb$}) do |m|
"spec/#{m[1]}.rb"
end

# watch /lib/ files
watch(%r{^lib/(.+).rb$}) do |m|
"spec/#{m[1]}_spec.rb"
end
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }
end
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 3095b85

Please sign in to comment.