Sha256: 9b4b384d62c084f622016780535ace0401dd8fb36234bd16e9c2e42f10fd9963

Contents?: true

Size: 337 Bytes

Versions: 1

Compression:

Stored size: 337 Bytes

Contents

require 'spec_helper'

describe EngineAssets::JavascriptsController do
  describe "routing" do
    it "recognizes valid paths" do
      { :get => "/javascripts/asset.js" }.should be_routable
    end
    
    it "generates valid paths" do
      javascripts_path(:asset, :format => :js).should == '/javascripts/asset.js'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
engine-assets-0.1.0 spec/routing/javascripts_routing_spec.rb