File tree Expand file tree Collapse file tree 3 files changed +15
-8
lines changed Expand file tree Collapse file tree 3 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 1
1
language : ruby
2
2
rvm :
3
- - 2.2.7
4
- - 2.3.4
5
- - 2.4.1
3
+ - 2.6.6
4
+ - 2.7.1
6
5
- ruby-head
7
6
script :
8
7
- bundle exec rspec
Original file line number Diff line number Diff line change @@ -72,4 +72,4 @@ DEPENDENCIES
72
72
rspec-power_assert
73
73
74
74
BUNDLED WITH
75
- 1.17.2
75
+ 2.1.4
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ TDDBC for Ruby with RSpec
6
6
[ ![ Build Status] ( https://travis-ci.org/tddbc/ruby_rspec.svg?branch=master )] ( https://travis-ci.org/tddbc/ruby_rspec )
7
7
8
8
## 動作確認環境
9
- * ruby 2.1以降
9
+ * ruby 2.7以降
10
10
11
11
## セットアップ
12
12
``` bash
@@ -25,9 +25,17 @@ Sample
25
25
should say ' Hello TDD BootCamp!'
26
26
Using subject it should
27
27
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
31
39
```
32
40
33
41
のようにテストが正常終了すればOKです。
You can’t perform that action at this time.
0 commit comments