Sha256: 6a5a62011f0b86affc680ee02ce3bdc84e841232320246c99a312883f80a2508

Contents?: true

Size: 257 Bytes

Versions: 8

Compression:

Stored size: 257 Bytes

Contents

require "spec_helper"

describe Mascot::Extensions::RailsRequestPaths do
  context ".format_path" do
    it "converts /foo.bar/buzz.html to /foo.bar/buzz" do
      expect(Mascot::Extensions::RailsRequestPaths.format_path("/foo.bar/buzz"))
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mascot-rails-0.1.16 spec/mascot/extensions/rails_request_paths_spec.rb
mascot-rails-0.1.15 spec/mascot/extensions/rails_request_paths_spec.rb
mascot-rails-0.1.14 spec/mascot/extensions/rails_request_paths_spec.rb
mascot-rails-0.1.12 spec/mascot/extensions/rails_request_paths_spec.rb
mascot-rails-0.1.11 spec/mascot/extensions/rails_request_paths_spec.rb
mascot-rails-0.1.10 spec/mascot/extensions/rails_request_paths_spec.rb
mascot-rails-0.1.9 spec/mascot/extensions/rails_request_paths_spec.rb
mascot-rails-0.1.8 spec/mascot/extensions/rails_request_paths_spec.rb