spec/support/bootstrap/fake_model_tables.rb
Method tables_for_model_controller_spec
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def tables_for_model_controller_spec
db.create_table :test_models do
primary_key :id
String :guid
String :unique_value
Method tables_for_query_spec
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def tables_for_query_spec
db.create_table :authors do
primary_key :id
Integer :num_val
Method tables_for_vcap_relations_spec
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def tables_for_vcap_relations_spec
db.create_table :owners do
primary_key :id
String :guid, null: false, index: true
end
Method tables_for_sequel_case_insensitive_string_monkeypatch
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def tables_for_sequel_case_insensitive_string_monkeypatch
db.create_table :unique_str_defaults do
primary_key :id
String :str, unique: true
end