specs in the green

This commit is contained in:
2014-07-14 16:35:32 +02:00
parent 13173d0ecc
commit d7adc32c2c
6 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -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')}
+1 -1
View File
@@ -1,6 +1,6 @@
require "spec_helper"
describe SupplierController do
describe SupplierController, type: :routing do
describe "routing" do
it "routes root to #home" do
+1 -1
View File
@@ -1,6 +1,6 @@
require "spec_helper"
describe UserController do
describe UserController, type: :routing do
describe "routing" do
it "routes root to #index" do