Skip to content

Commit

Permalink
book editing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Frans Ojala committed Apr 16, 2014
1 parent 8ea4acc commit e09caeb
Show file tree
Hide file tree
Showing 6 changed files with 396 additions and 429 deletions.
467 changes: 275 additions & 192 deletions .idea/workspace.xml

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions app/controllers/books_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ class BooksController < ApplicationController

# GET /books
# GET /books.json
def index
@books = Book.all
end
# def index
# @books = Book.all
# end

# GET /books/1
# GET /books/1.json
Expand Down
2 changes: 1 addition & 1 deletion app/views/books/edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

<%= render 'form' %>
<%= link_to 'Show', @book %> |
<%= link_to 'Show', reference_path(@book) %> |
<%= link_to 'Back', references_path %>
2 changes: 1 addition & 1 deletion coverage/.last_run.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"result": {
"covered_percent": 74.23
"covered_percent": 45.71
}
}

0 comments on commit e09caeb

Please sign in to comment.