Skip to content

Commit

Permalink
Fix coding style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
aldesantis committed Dec 27, 2016
1 parent 10347fb commit b37b04a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/pragma/operation/decoration.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
module Pragma
module Operation
# Provides integration with {https://github.com/pragmarb/pragma-decorator Pragma::Decorator}.
Expand Down
1 change: 0 additions & 1 deletion lib/pragma/operation/validation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ def build_contract(resource)
#
# @return [Boolean] whether the operation is valid
def validate(validatable)
# rubocop:disable Metrics/LineLength
contract = if validatable.is_a?(self.class.contract_klass)
validatable
else
Expand Down
2 changes: 1 addition & 1 deletion spec/pragma/operation/decoration_spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true
require 'pragma/decorator'

RSpec.describe Pragma::Operation::Authorization do
RSpec.describe Pragma::Operation::Decoration do
let(:context) { operation.call }

let(:decorator_klass) do
Expand Down

0 comments on commit b37b04a

Please sign in to comment.