Skip to content

Commit

Permalink
Merge pull request #20217 from d-m-u/patch-2
Browse files Browse the repository at this point in the history
fix typo in generic_object_spec.rb
  • Loading branch information
kbrock committed May 28, 2020
2 parents abc255d + 2ce563b commit cd61222
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/models/generic_object_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@
expect(go.vms.count).to eq(1)
end

it 'does not add object from differnt class' do
it 'does not add object from different class' do
go.add_to_property_association("vms", FactoryBot.create(:host))
expect(go.vms.count).to eq(0)
end
Expand Down Expand Up @@ -316,7 +316,7 @@
expect(result).to be_nil
end

it 'does not delete object from differnt class' do
it 'does not delete object from different class' do
result = go.delete_from_property_association(:vms, [FactoryBot.create(:host)])
expect(go.vms).to match_array([vm1])
expect(result).to be_nil
Expand Down

0 comments on commit cd61222

Please sign in to comment.