File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff 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です。
You can’t perform that action at this time.
0 commit comments