spec/lib/spotlight/routes_spec.rb in blacklight-spotlight-0.4.1 vs spec/lib/spotlight/routes_spec.rb in blacklight-spotlight-0.5.0

- old
+ new

@@ -1,11 +1,11 @@ require 'spec_helper' -describe ActionDispatch::Routing::Mapper do - describe "#spotlight_root" do +describe Spotlight::Routes do + describe '#spotlight_root' do subject { ActionDispatch::Routing::Mapper.new(ActionDispatch::Routing::RouteSet.new) } - it "should make the root route" do - expect(subject).to receive(:root).with(to: "spotlight/default#index") + it 'makes the root route' do + expect(subject).to receive(:root).with(to: 'spotlight/default#index') subject.spotlight_root end end end