Skip to content

Commit

Permalink
Refs issue #14: Red test
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus-Brand committed Nov 3, 2017
1 parent d659405 commit 6db8107
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions spec/features/author/index_author_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,18 @@
expect(page).to have_link('Show')
end

it "should have a link to show author" do
FactoryGirl.create :author
visit authors_path

expect(page).to have_link('Show')
end

it "should have a link to edit author" do
FactoryGirl.create :author
visit authors_path

expect(page).to have_link('edit')
end

end

0 comments on commit 6db8107

Please sign in to comment.