specs in the green
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
require "spec_helper"
|
||||
|
||||
describe "routing" do
|
||||
describe "routing", type: :routing do
|
||||
it('roots to pages#home'){get('/').should route_to('pages#home', locale: 'nl')}
|
||||
it('roots to pages#home for en locale'){get('/en').should route_to('pages#home', locale: 'en')}
|
||||
it('handles about page as root'){ get('/about').should route_to('pages#show', name: 'about', locale: 'nl')}
|
||||
|
||||
Reference in New Issue
Block a user