Sha256: ddbad5b39c99eb6251bed7358c13f48be6931081855dd8c2d8fd1f0f9091bb56

Contents?: true

Size: 268 Bytes

Versions: 1

Compression:

Stored size: 268 Bytes

Contents

require 'spec_helper'

describe 'Home page route' do
  before(:each) do
    HighVoltage.home_page = 'home'
    Rails.application.reload_routes!
  end

  it 'redirects the duplicate content to root' do
    get '/home'
    expect(response).to redirect_to('/')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
high_voltage-2.1.0 spec/requests/home_page_spec.rb