Stop setting host for url helpers in specs

This commit is contained in:
Rob Harrington
2017-07-06 12:43:38 +10:00
parent 7b456461f3
commit dd56e03be1
5 changed files with 5 additions and 4 deletions

View File

@@ -204,7 +204,6 @@ feature %q{
end
context "viewing the edit page" do
before { Rails.application.routes.default_url_options[:host] = "test.host" }
it "shows the dropdown menu" do
distributor1.update_attribute(:abn, '12345678')
order = create(:completed_order_with_totals, distributor: distributor1)