Skip to content

Commit

Permalink
Refs #10: red test
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBrendel committed Nov 3, 2017
1 parent 51595d1 commit 62578c9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spec/features/author/index_author_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,11 @@
expect(page).to have_link('Add author')
end

it "should display a link to show alan's details" do
FactoryGirl.create :author
visit authors_path

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

end

0 comments on commit 62578c9

Please sign in to comment.