class GitHooks::RspecExecutor

Public Instance Methods

errors?() click to toggle source
# File lib/git_hooks/rspec_executor.rb, line 3
def errors?
  !system(rspec_command)
end

Private Instance Methods

rspec_command() click to toggle source
# File lib/git_hooks/rspec_executor.rb, line 9
def rspec_command
  'bundle exec rspec --format=progress'
end