Skip to content

Commit

Permalink
Fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloh committed Feb 8, 2019
1 parent 1213769 commit 02c1cc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/plugins/sequel_models_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ class SubOperation < MyOperation; end
expect(result).to be_a_failure
end

context 'when the state after if changed after the callback is set' do
context 'when the execution state is changed bellow the after_commit callback' do
let(:operation) { ChainedOperation.new(mailer: mailer) }

it 'ignores state changes that took place on the remaining steps' do
it 'ignores any state changes that took place posterior to the after_commit block' do
allow(MyModel).to receive(:first).with(params).and_return(model)
expect(mailer).to receive(:send_emails).with(model)

Expand Down

0 comments on commit 02c1cc0

Please sign in to comment.