Skip to content

Commit

Permalink
Refs #9: red test
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBrendel committed Nov 3, 2017
1 parent 78b64dd commit ce3d766
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/features/author/index_author_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,10 @@
expect(page.text).to match(/http:\/\/wikipedia\.de\/Alan_Turing/i)
end

it "should display a link to create new authors" do
visit authors_path

expect(page).to have_link('add author')
end

end

0 comments on commit ce3d766

Please sign in to comment.