spec/support/shared_examples.rb in locomotivecms-search-0.3.0 vs spec/support/shared_examples.rb in locomotivecms-search-0.3.2
- old
+ new
@@ -28,9 +28,10 @@
page.should_not have_content "Findable entry"
Locomotive::Search::ContentTypeReindexer.new.perform(@ctype.id)
visit 'http://test.example.com'
fill_in "Search", with: "stuff"
click_on "Search"
+ page.should have_content "Total entries: 1"
page.should have_content "Findable entry"
end
end
shared_examples "search from the back-office" do
\ No newline at end of file