Skip to content

Commit

Permalink
Remove unnecessary lines in parent_strategy_spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Johnson committed Jul 12, 2015
1 parent b0a0da7 commit 12083db
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,11 @@

it 'gives last parent terminating parent is nil' do
allow(parent).to receive(:parent).and_return(last)
allow(last).to receive(:parentt).and_return(nil)
expect(subject.final_parent).to eq last
end

it 'gives last parent terminating parent is same as current' do
allow(parent).to receive(:parent).and_return(last)
allow(last).to receive(:parentt).and_return(last)
expect(subject.final_parent).to eq last
end
end
Expand Down

0 comments on commit 12083db

Please sign in to comment.