Skip to content
This repository has been archived by the owner on Jul 30, 2019. It is now read-only.

Commit

Permalink
Update spec to use valid duns
Browse files Browse the repository at this point in the history
  • Loading branch information
Jessie A Young committed Apr 21, 2016
1 parent 4e1160c commit af23ea2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/models/sam_account_reckoner_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@

context 'when the duns number has changed' do
it 'clears the sam account validation' do
user = FactoryGirl.create(:user, sam_account: true, duns_number: 'old')
old = '123456789'
user = FactoryGirl.create(:user, sam_account: true, duns_number: old)
user.duns_number = 'new'

SamAccountReckoner.new(user).clear
Expand Down

0 comments on commit af23ea2

Please sign in to comment.