Skip to content

Commit

Permalink
Iban validator test fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
leio10 committed Oct 4, 2017
1 parent 44f0173 commit 3f32010
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion lib/iban_bic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@
require "iban_bic/version"
require "iban_bic/configuration"
require "iban_bic/core"
require "active_model/validations/iban_validator"
require "iban_bic/engine" if defined?(Rails::Engine)
require "iban_bic/defaults"
1 change: 1 addition & 0 deletions spec/validators/iban_validator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def self.model_name
end

context "when invalid country digits" do
let(:iban_digits) { "17" }
let(:country_digits) { "00" }
it { is_expected.to be_invalid }
end
Expand Down

0 comments on commit 3f32010

Please sign in to comment.