Skip to content

Commit

Permalink
Merge 9de0b28 into b57237e
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Nov 1, 2018
2 parents b57237e + 9de0b28 commit 530a957
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 0 additions & 1 deletion spec/routing/catalog_routing_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# frozen_string_literal: true
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

RSpec.describe "Routing" do
describe "Paths Generated by Custom Routes:" do
Expand Down
9 changes: 9 additions & 0 deletions spec/routing/search_history_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# frozen_string_literal: true

RSpec.describe "Search History Routes" do
routes { Blacklight::Engine.routes }
# paths generated by custom routes
it "has a path for showing the search history" do
expect(get: "/search_history").to route_to(controller: 'search_history', action: 'index')
end
end

0 comments on commit 530a957

Please sign in to comment.