You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
255 B
Ruby
16 lines
255 B
Ruby
11 years ago
|
require 'spec_helper'
|
||
|
|
||
|
describe PagesController do
|
||
|
|
||
|
describe '#show' do
|
||
|
before do
|
||
|
get :show, page: :privacy, use_route: :privacy
|
||
|
end
|
||
|
|
||
|
it 'renders template with a given name' do
|
||
|
should render_template(:privacy)
|
||
|
end
|
||
|
end
|
||
|
|
||
|
end
|