From 021cb4f93bd9bf0c4c5cf673f671633f5897acd3 Mon Sep 17 00:00:00 2001 From: Daniel O'Connor Date: Tue, 15 Sep 2015 11:38:20 +0930 Subject: [PATCH] Use #{ENV['GROWSTUFF_SITE_NAME']} --- spec/features/signin_spec.rb | 2 +- spec/features/signup_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/features/signin_spec.rb b/spec/features/signin_spec.rb index 761f0dc93..f36ee01aa 100644 --- a/spec/features/signin_spec.rb +++ b/spec/features/signin_spec.rb @@ -71,7 +71,7 @@ feature "signin", :js => true do # Signed up and logged in expect(current_path).to eq root_path - expect(page.text).to include("Welcome to Growstuff (test), tdawg") + expect(page.text).to include("Welcome to #{ENV['GROWSTUFF_SITE_NAME']}, tdawg") end end end diff --git a/spec/features/signup_spec.rb b/spec/features/signup_spec.rb index 096af7c37..5d3751a99 100644 --- a/spec/features/signup_spec.rb +++ b/spec/features/signup_spec.rb @@ -71,7 +71,7 @@ feature "signup", :js => true do # Signed up and logged in expect(current_path).to eq root_path - expect(page.text).to include("Welcome to Growstuff (test), tdawg") + expect(page.text).to include("Welcome to #{ENV['GROWSTUFF_SITE_NAME']}, tdawg") end end end