From e3d2304d6971c42436e711ccf70b8e4d5114f887 Mon Sep 17 00:00:00 2001 From: Robert Speicher Date: Mon, 27 Apr 2015 15:43:50 -0400 Subject: Specs don't need to set default_url_options anymore --- spec/features/users_spec.rb | 7 ------- 1 file changed, 7 deletions(-) (limited to 'spec/features/users_spec.rb') diff --git a/spec/features/users_spec.rb b/spec/features/users_spec.rb index 4cfaab03caf..93d2b18b5fc 100644 --- a/spec/features/users_spec.rb +++ b/spec/features/users_spec.rb @@ -1,13 +1,6 @@ require 'spec_helper' feature 'Users' do - around do |ex| - old_url_options = Rails.application.routes.default_url_options - Rails.application.routes.default_url_options = { host: 'example.foo' } - ex.run - Rails.application.routes.default_url_options = old_url_options - end - scenario 'GET /users/sign_in creates a new user account' do visit new_user_session_path fill_in 'user_name', with: 'Name Surname' -- cgit v1.2.1