Skip to content

Commit e3fa8d7

Browse files
committed
Added default task to rakefile that runs all the tests; Added section in the readme
1 parent 3ed8f5d commit e3fa8d7

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ You can see the details of serverspec on [serverspec.org](http://serverspec.org/
66

77
----
88

9+
## Running the gem's tests
10+
11+
Use
12+
13+
```bundle exec rake```
14+
15+
(Using ```rspec``` alone will not work).
16+
17+
18+
919
## Maintenance policy of Serverspec/Specinfra
1020

1121
* The person who found a bug should fix the bug by themself.

Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ rescue LoadError
66
end
77

88
if defined?(RSpec)
9+
task :default => 'spec:all'
910
task :spec => 'spec:all'
1011

1112
namespace :spec do

0 commit comments

Comments
 (0)