Skip to content

Commit 532669d

Browse files
committed
Update environment and rspec output
1 parent 57ce706 commit 532669d

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ TDDBC for Ruby with RSpec
66
[![Build Status](https://travis-ci.org/tddbc/ruby_rspec.svg?branch=master)](https://travis-ci.org/tddbc/ruby_rspec)
77

88
## 動作確認環境
9-
* ruby 2.1以降
9+
* ruby 2.7以降
1010

1111
## セットアップ
1212
```bash
@@ -25,9 +25,17 @@ Sample
2525
should say 'Hello TDD BootCamp!'
2626
Using subject it should
2727
should eq "Yeah! TDD BootCamp!"
28-
29-
Finished in 0.00218 seconds (files took 0.1389 seconds to load)
30-
2 examples, 0 failures
28+
Using power assert
29+
should
30+
be asserted by{ sample.say(greeting) == "Wow! TDD BootCamp!" }
31+
| | | |
32+
| | | true
33+
| | "Wow!"
34+
| "Wow! TDD BootCamp!"
35+
#<Sample:0x0000563cf08833e8>
36+
37+
Finished in 0.10792 seconds (files took 0.80775 seconds to load)
38+
3 examples, 0 failures
3139
```
3240

3341
のようにテストが正常終了すればOKです。

0 commit comments

Comments
 (0)