diff --git a/.travis.yml b/.travis.yml index 2a0fff3..308c416 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,7 @@ language: ruby rvm: - - 2.2.7 - - 2.3.4 - - 2.4.1 + - 2.6.6 + - 2.7.1 - ruby-head script: - bundle exec rspec diff --git a/Gemfile.lock b/Gemfile.lock index f3454f2..5902c7d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -72,4 +72,4 @@ DEPENDENCIES rspec-power_assert BUNDLED WITH - 1.17.2 + 2.1.4 diff --git a/README.md b/README.md index 103d62d..7a6e08b 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ TDDBC for Ruby with RSpec [![Build Status](https://travis-ci.org/tddbc/ruby_rspec.svg?branch=master)](https://travis-ci.org/tddbc/ruby_rspec) ## 動作確認環境 -* ruby 2.1以降 +* ruby 2.7以降 ## セットアップ ```bash @@ -25,9 +25,17 @@ Sample should say 'Hello TDD BootCamp!' Using subject it should should eq "Yeah! TDD BootCamp!" - -Finished in 0.00218 seconds (files took 0.1389 seconds to load) -2 examples, 0 failures + Using power assert + should + be asserted by{ sample.say(greeting) == "Wow! TDD BootCamp!" } + | | | | + | | | true + | | "Wow!" + | "Wow! TDD BootCamp!" + # + +Finished in 0.10792 seconds (files took 0.80775 seconds to load) +3 examples, 0 failures ``` のようにテストが正常終了すればOKです。