require 'spec_helper'

describe 'urls' do

  describe 'new_note_path' do

    it 'should be recognized correctly' do
      { :get => '/notes/new' }.should route_to(:controller => "notes", :action => "new")
    end

    it 'should be generated correctly' do
      new_note_path.should == '/notes/new'
    end

  end

end
