Skip to content

Commit

Permalink
Fix standardrb issues in #200
Browse files Browse the repository at this point in the history
The PR predates us adopting standardrb
  • Loading branch information
gaffneyc committed Dec 28, 2024
1 parent 993d419 commit 0b4dee9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/interactor/context_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -200,16 +200,16 @@ module Interactor
end
end

describe '#deconstruct_keys' do
describe "#deconstruct_keys" do
let(:context) { Context.build(foo: :bar) }

let(:deconstructed) { context.deconstruct_keys([:foo, :success, :failure]) }

it 'deconstructs as hash pattern' do
it "deconstructs as hash pattern" do
expect(deconstructed[:foo]).to eq(:bar)
end

it 'includes success and failure' do
it "includes success and failure" do
expect(deconstructed[:success]).to eq(true)
expect(deconstructed[:failure]).to eq(false)
end
Expand Down

0 comments on commit 0b4dee9

Please sign in to comment.