diff --git a/spec/defines/008_elasticsearch_role_spec.rb b/spec/defines/008_elasticsearch_role_spec.rb index 9d302d8c2..df1e6b32a 100644 --- a/spec/defines/008_elasticsearch_role_spec.rb +++ b/spec/defines/008_elasticsearch_role_spec.rb @@ -39,7 +39,7 @@ class { 'elasticsearch': } context 'with an invalid role name' do context 'too long' do - let(:title) { 'A' * 41 } + let(:title) { 'A' * 41 } it { should raise_error(Puppet::Error, /expected length/i) } end end