Skip to content

Commit

Permalink
empty search spec
Browse files Browse the repository at this point in the history
  • Loading branch information
tampakis committed Feb 14, 2017
1 parent ab224fc commit 05da13f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions spec/features/empty_search_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
require 'spec_helper'

feature 'Empty search' do
before do
visit root_path
end
scenario 'Entering empty search returns results page' do
click_button 'search'
expect(page).to have_css '#documents'
end
end

0 comments on commit 05da13f

Please sign in to comment.