Commit 681a7ed

mo <mo.khan@gmail.com>
2018-03-07 00:03:37
fix rubocop errors.
1 parent d30832f
Changed files (2)
spec/saml/kit/signature_spec.rb
@@ -118,14 +118,14 @@ RSpec.describe Saml::Kit::Signature do
     end
   end
 
-  describe "#trusted?" do
-    context "when trusted" do
+  describe '#trusted?' do
+    context 'when trusted' do
       let(:metadata) { instance_double(Saml::Kit::Metadata, matches?: Object.new) }
 
       specify { expect(subject.trusted?(metadata)).to be(true) }
     end
 
-    context "when untrusted" do
+    context 'when untrusted' do
       let(:metadata) { instance_double(Saml::Kit::Metadata, matches?: nil) }
 
       specify { expect(subject.trusted?(metadata)).to be(false) }
.rubocop.yml
@@ -76,7 +76,10 @@ Style/EachWithObject:
 Style/StringLiterals:
   EnforcedStyle: 'single_quotes'
 
-Style/TrailingCommaInLiteral:
+Style/TrailingCommaInArrayLiteral:
+  Enabled: false
+
+Style/TrailingCommaInHashLiteral:
   Enabled: false
 
 RSpec/ExampleLength: