guard-zeus-client 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -76,9 +76,9 @@ module Guard
76
76
  end
77
77
 
78
78
  def test_dirs
79
- if File.exists?(ROOT_PATH + "/spec/spec_helper.rb")
79
+ if File.exists?("spec/spec_helper.rb")
80
80
  ['spec']
81
- elsif File.exist?(ROOT_PATH + "/test/minitest_helper.rb")
81
+ elsif File.exist?("test/minitest_helper.rb")
82
82
  minitest_dirs
83
83
  else
84
84
  Dir['test/**/*_test.rb'] + Dir['test/**/test_*.rb']
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module ZeusClientVersion
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
@@ -3,6 +3,16 @@ require 'spec_helper'
3
3
  describe Guard::ZeusClient::Runner do
4
4
  subject(:runner) { described_class.new }
5
5
 
6
+ describe '#run_all' do
7
+ context 'with rspec' do
8
+ it 'should run all specs in the spec dir' do
9
+ runner.should_receive(:run).with(['spec'], anything)
10
+
11
+ runner.run_all
12
+ end
13
+ end
14
+ end
15
+
6
16
  describe 'notifications' do
7
17
  context 'when the zeus command fails' do
8
18
  before do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-zeus-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: