adds spec for info pages
This commit is contained in:
@@ -7,10 +7,13 @@ class PagesController < ApplicationController
|
|||||||
def conditions
|
def conditions
|
||||||
end
|
end
|
||||||
|
|
||||||
def cooming_soon
|
def general_terms
|
||||||
end
|
end
|
||||||
|
|
||||||
def general_terms
|
def privacy
|
||||||
|
end
|
||||||
|
|
||||||
|
def cooming_soon
|
||||||
end
|
end
|
||||||
|
|
||||||
def how_it_works
|
def how_it_works
|
||||||
@@ -28,9 +31,6 @@ class PagesController < ApplicationController
|
|||||||
def participation
|
def participation
|
||||||
end
|
end
|
||||||
|
|
||||||
def privacy
|
|
||||||
end
|
|
||||||
|
|
||||||
def transparency
|
def transparency
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -36,4 +36,36 @@ describe PagesController do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
describe 'Info pages' do
|
||||||
|
it 'should include a coming_soon page' do
|
||||||
|
get :coming_soon
|
||||||
|
expect(response).to be_ok
|
||||||
|
end
|
||||||
|
|
||||||
|
it 'should include a how_it_works page' do
|
||||||
|
get :how_it_works
|
||||||
|
expect(response).to be_ok
|
||||||
|
end
|
||||||
|
|
||||||
|
it 'should include a how_to_use page' do
|
||||||
|
get :how_to_use
|
||||||
|
expect(response).to be_ok
|
||||||
|
end
|
||||||
|
|
||||||
|
it 'should include a more_information page' do
|
||||||
|
get :more_information
|
||||||
|
expect(response).to be_ok
|
||||||
|
end
|
||||||
|
|
||||||
|
it 'should include a participation page' do
|
||||||
|
get :participation
|
||||||
|
expect(response).to be_ok
|
||||||
|
end
|
||||||
|
|
||||||
|
it 'should include a blog page' do
|
||||||
|
get :blog
|
||||||
|
expect(response).to be_ok
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
Reference in New Issue
Block a user