Skip to content

Commit 9014e48

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 0dad36a + cb920c6 commit 9014e48

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
source :rubygems
22

3+
gem 'rake'
34
gem 'rspec'
45
gem 'guard'
56
gem 'guard-rspec'

Gemfile.lock

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ GEM
66
thor (~> 0.14.6)
77
guard-rspec (0.4.0)
88
guard (>= 0.4.0)
9+
rake (0.9.2)
910
rspec (2.6.0)
1011
rspec-core (~> 2.6.0)
1112
rspec-expectations (~> 2.6.0)
@@ -22,4 +23,5 @@ PLATFORMS
2223
DEPENDENCIES
2324
guard
2425
guard-rspec
26+
rake
2527
rspec

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ Executing `bundle ` will take care of installing all the remaining gems that thi
163163
The tests for this project are written in a Ruby test library named [RSpec](https://www.relishapp.com/rspec).
164164

165165
rake
166+
167+
NOTE: If rake fails to work you may have to execute the command: `bundle exec rake`
166168

167169
### 4. Setup a guard
168170

@@ -183,7 +185,7 @@ All of the failing examples can be found in the file `spec/failing_spec.rb`. Thi
183185
3. Go to that file and line number
184186
4. Fix the issue.
185187

186-
With Guard running any change you make and save will cause the system to re-run the tests. There you can watch to see if the number of failures decreases. Your goal is to have *57 examples, 0 failures*. Good luck!
188+
With Guard running any change you make and save will cause the system to re-run the tests. There you can watch to see if the number of failures decreases. Your goal is to have *68 examples, 0 failures*. Good luck!
187189

188190
### 6. Save your changes
189191

Rakefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11

2+
desc "`rake` will default to running `rake:spec`"
23
task :default => :spec
34

5+
desc "Run all the tests"
46
task :spec do
5-
system "rspec -c spec/*_spec.rb"
7+
system "bundle exec rspec -c spec/*_spec.rb"
68
end

0 commit comments

Comments
 (0)