Sha256: b654dafaa4314f4129c16d84aa081caee5bb0148fe2fc6c6cb8a5af2310116b9

Contents?: true

Size: 313 Bytes

Versions: 7

Compression:

Stored size: 313 Bytes

Contents

require 'spec_helper'

module Borutus
  describe AccountsController do
    routes { Borutus::Engine.routes }

    describe "routing" do
      it "recognizes and generates #index" do
        expect(:get => "/accounts").to route_to(:controller => "borutus/accounts", :action => "index")
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
borutus-1.0.0 spec/routing/accounts_routing_spec.rb
borutus-0.2.4 spec/routing/accounts_routing_spec.rb
borutus-0.2.3 spec/routing/accounts_routing_spec.rb
borutus-0.2.2 spec/routing/accounts_routing_spec.rb
borutus-0.2.1 spec/routing/accounts_routing_spec.rb
borutus-0.2.0 spec/routing/accounts_routing_spec.rb
borutus-0.1.0 spec/routing/accounts_routing_spec.rb