Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update environment to README #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.2以降

## セットアップ
```bash
Expand All @@ -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!"
#<Sample:0x007f8e9cb45cf8>

Finished in 0.00321 seconds (files took 0.14054 seconds to load)
3 examples, 0 failures
```

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