summaryrefslogtreecommitdiff
path: root/spec/models/concerns/has_variable_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/concerns/has_variable_spec.rb')
-rw-r--r--spec/models/concerns/has_variable_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/models/concerns/has_variable_spec.rb b/spec/models/concerns/has_variable_spec.rb
index 3fbe86c5b56..2bb21d7934e 100644
--- a/spec/models/concerns/has_variable_spec.rb
+++ b/spec/models/concerns/has_variable_spec.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require 'spec_helper'
describe HasVariable do
@@ -57,7 +59,7 @@ describe HasVariable do
describe '#to_runner_variable' do
it 'returns a hash for the runner' do
expect(subject.to_runner_variable)
- .to eq(key: subject.key, value: subject.value, public: false)
+ .to include(key: subject.key, value: subject.value, public: false)
end
end
end