circleci
270 of 674 relevant lines covered (40.06%)
1.52 hits per line
1 |
class BooksController < ApplicationController |
1 only 62.2 ✔ |
2 |
# GET /books
|
× |
3 |
# GET /books.json
|
× |
4 |
def index |
1 only 62.2 ✔ |
5 |
@books = Book.all |
1 only 62.2 ✔ |
6 |
end
|
× |
7 |
|
× |
8 |
# GET /books/1
|
× |
9 |
# GET /books/1.json
|
× |
10 |
def show |
1 only 62.2 ✔ |
11 |
@book = Book.find(params[:id]) |
1 only 62.2 ✔ |
12 |
end
|
× |
13 |
end
|
× |