lib/orly/tester.rb in orly-0.0.7 vs lib/orly/tester.rb in orly-0.0.8
- old
+ new
@@ -13,10 +13,10 @@
raise NoRepo.new
end
def run_tests
get_diff.each do |file|
- case(file)
+ case(file.path)
when /^Gemfile/ then @need_bundle = true
when /^db\/migrate/ then @need_migrate = true
when /^Podfile/ then @need_pod = true
end
end
\ No newline at end of file