Skip to content

Commit

Permalink
Switch deprecated ensure_inclusion_of to validate_inclusion_of
Browse files Browse the repository at this point in the history
MSP-11439
  • Loading branch information
mbuck-r7 committed Feb 18, 2015
1 parent 0e684cb commit 6abeb5a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

context 'validations' do
it { should validate_presence_of(:attribute) }
it { should ensure_inclusion_of(:type).in_array(described_class::TYPES) }
it { should validate_inclusion_of(:type).in_array(described_class::TYPES) }
end

context '#attribute_enumerable' do
Expand Down

0 comments on commit 6abeb5a

Please sign in to comment.