Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rosylilly/pa_test
https://github.com/rosylilly/pa_test
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rosylilly/pa_test
- Owner: rosylilly
- Created: 2014-12-31T17:47:57.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-31T17:50:34.000Z (about 10 years ago)
- Last Synced: 2024-12-22T13:14:55.904Z (15 days ago)
- Language: Ruby
- Size: 129 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Minitest::PowerAssert が壊れてて辛い
`git pull` して
```shell
$ bundle install
$ bin/rake db:create db:migrate RAILS_ENV=test
$ bin/rake test
/usr/local/var/rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/spring-1.2.0/lib/spring/application.rb:156:in `fork': unexpected break
```で再現。
## 作業内容
- `rails new pa_test`
- `minitest-power_assert` を Gemfile に追加
- `bin/rails g model Tea name:string`
- `validates :name, presence: true` を `app/model/tea.rb` に追加
- `test/model/tea_test.rb` の中身を書いた