Created
October 27, 2011 14:23
-
-
Save daveworth/1319676 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'spec_helper' | |
describe ContactImport do | |
describe "Schema" do | |
it { should have_db_column(:import_file_name).of_type(:string) } | |
it { should have_db_column(:import_content_type).of_type(:string) } | |
it { should have_db_column(:import_file_size).of_type(:integer) } | |
it { should have_db_column(:import_updated_at).of_type(:datetime) } | |
it { should have_db_column(:import_format).of_type(:string) } | |
it { should have_db_column(:tag_import).of_type(:boolean) } | |
it { should have_db_column(:tag_with).of_type(:string) } | |
it { should have_db_column(:remove_duplicates).of_type(:boolean) } | |
it { should have_db_column(:duplicate_field).of_type(:string) } | |
it { should have_db_column(:merge_duplicates).of_type(:boolean) } | |
it { should have_db_column(:merge_field).of_type(:string) } | |
it { should have_db_column(:type).of_type(:string) } | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment