Skip to content

Commit

Permalink
API-195: removed RSPEC for this PR
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoranieri committed May 31, 2022
1 parent a4e14c8 commit f791bb1
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions lib/nexmo_developer/spec/controllers/static_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -323,26 +323,4 @@
end
end
end

describe '#landing_page_documentation' do
it 'map /documentation route to STATIC#landing_page_documentation' do
get '/documentation'

expect(response.status).to eq(200)
end
end

describe 'when a locale is present' do
it 'redirects to the canonical url if locale is :en' do
get '/en/documentation'

expect(response).to redirect_to('/documentation')
end

it 'renders when locale is different from :en' do
get '/cn/documentation'

expect(response.status).to eq(200)
end
end
end

0 comments on commit f791bb1

Please sign in to comment.