diff --git a/spec/features/author/index_author_spec.rb b/spec/features/author/index_author_spec.rb index 64c9282..178b85f 100644 --- a/spec/features/author/index_author_spec.rb +++ b/spec/features/author/index_author_spec.rb @@ -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 \ No newline at end of file