Skip to content

Commit 1f867fe

Browse files
authored
Merge pull request #18 from Kesin11/update_dependencies_and_ruby
Rubyとbundlerのバージョンを更新
2 parents 0a6082e + 0c6a611 commit 1f867fe

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
language: ruby
22
rvm:
3-
- 2.2.7
4-
- 2.3.4
5-
- 2.4.1
3+
- 2.6.6
4+
- 2.7.1
65
- ruby-head
76
script:
87
- bundle exec rspec

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,4 @@ DEPENDENCIES
7272
rspec-power_assert
7373

7474
BUNDLED WITH
75-
1.17.2
75+
2.1.4

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)