diff --git a/app/views/authors/index.html.erb b/app/views/authors/index.html.erb index 98bf2fa..a8352e0 100644 --- a/app/views/authors/index.html.erb +++ b/app/views/authors/index.html.erb @@ -1,5 +1,7 @@

all the authors are listed here!

+<%= link_to 'Add Author', new_author_path %> + diff --git a/spec/features/author/index_author_spec.rb b/spec/features/author/index_author_spec.rb index 178b85f..74efec8 100644 --- a/spec/features/author/index_author_spec.rb +++ b/spec/features/author/index_author_spec.rb @@ -17,7 +17,7 @@ it "should display a link to create new authors" do visit authors_path - expect(page).to have_link('add author') + expect(page).to have_link('Add Author') end end \ No newline at end of file
Name