Sha256: 457a631b0a4bd860edaf9a3f5f0773610bf9e1a805c1c61c82e51d84a9ae0dc1

Contents?: true

Size: 340 Bytes

Versions: 2

Compression:

Stored size: 340 Bytes

Contents

require 'spec_helper'

describe EngineAssets::StylesheetsController do
  describe "routing" do
    it "recognizes valid paths" do
      { :get => "/stylesheets/asset.css" }.should be_routable
    end
    
    it "generates valid paths" do
      stylesheets_path(:asset, :format => :css).should == '/stylesheets/asset.css'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
engine-assets-0.2.0 spec/routing/stylesheets_routing_spec.rb
engine-assets-0.1.0 spec/routing/stylesheets_routing_spec.rb