From 42376af35ee46e9f6f8a0e7d3d497100fa78a2e0 Mon Sep 17 00:00:00 2001 From: Eric Schultz Date: Thu, 7 Jun 2018 15:28:38 -0500 Subject: [PATCH] Add a line break to make sure you don't lose the correct commits --- spec/controllers/static_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/controllers/static_controller_spec.rb b/spec/controllers/static_controller_spec.rb index a22347a1..f1ffb014 100644 --- a/spec/controllers/static_controller_spec.rb +++ b/spec/controllers/static_controller_spec.rb @@ -38,7 +38,7 @@ RSpec.describe StaticController, :type => :controller do } } }) - expect(File).to receive(:read).with("#{$RAILS_ROOT}/CCS_HASH").and_return("hash") + expect(File).to receive(:read).with("#{$RAILS_ROOT}/CCS_HASH").and_return("hash\n") get('ccs') expect(response).to redirect_to "https://github.com/account/repo/tree/hash" end