Skip to content

Commit 6b3ec2e

Browse files
committed
Fix failing test
1 parent 46fbbcf commit 6b3ec2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/intercom-rails/auto_include_filter_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,14 +115,14 @@ def test_setting_current_user_with_intercom_config
115115
def test_library_url_default
116116
get :with_current_user_method, :body => "<body>Hello world</body>"
117117
assert_includes @response.body, "<script>"
118-
assert_includes @response.body, "s.src = 'https://api.intercom.io/api/js/library.js"
118+
assert_includes @response.body, "s.src='https://api.intercom.io/api/js/library.js"
119119
end
120120

121121
def test_library_url_override
122122
IntercomRails.config.library_url = 'http://a.b.c.d/library.js'
123123
get :with_current_user_method, :body => "<body>Hello world</body>"
124124
assert_includes @response.body, "<script>"
125-
assert_includes @response.body, "s.src = 'http://a.b.c.d/library.js"
125+
assert_includes @response.body, "s.src='http://a.b.c.d/library.js"
126126
end
127127

128128
def test_auto_insert_with_api_secret_set

0 commit comments

Comments
 (0)