Sha256: 6ad6c3758e1410bc862ea0786c2ccf53ff924cbb5cdbdbcab327a2cbd992ceb6
Contents?: true
Size: 452 Bytes
Versions: 2
Compression:
Stored size: 452 Bytes
Contents
require "spec_helper" describe Mascot::Extensions::IndexRequestPath do subject { Mascot::Extensions::IndexRequestPath.new } let(:site) { Mascot::Site.new(root_path: "spec/pages") } let(:root) { site.root } context "#process_resources" do before { subject.process_resources(root) } it "changes /index.html request_path to /" do # require "pry" ; binding.pry expect(root.get("/").request_path).to eql("/") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mascot-rails-0.1.16 | spec/mascot/extensions/index_request_path_spec.rb |
mascot-rails-0.1.15 | spec/mascot/extensions/index_request_path_spec.rb |