diff options
| author | Robert | 2017-05-02 12:15:09 +0200 | 
|---|---|---|
| committer | Robert | 2017-05-02 16:40:10 +0200 | 
| commit | 9b95304792865eb05305d8fea01c634a5c5d1829 (patch) | |
| tree | 63b44ad698c360626980ee6101ace13e49b83308 /spec/lib/af83 | |
| parent | a647f932dc8206583f727a4af64a200b6ec6857b (diff) | |
| download | chouette-core-9b95304792865eb05305d8fea01c634a5c5d1829.tar.bz2 | |
   Refs #3053
   passes current_organization down from the controller into Reference.new_from
   adds joint models *ReferenceMemeberships to excluded Apartment models
Diffstat (limited to 'spec/lib/af83')
| -rw-r--r--[-rwxr-xr-x] | spec/lib/af83/stored_procedures/clone_schema_spec.rb | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/lib/af83/stored_procedures/clone_schema_spec.rb b/spec/lib/af83/stored_procedures/clone_schema_spec.rb index 4de3379ea..c387ddc7d 100755..100644 --- a/spec/lib/af83/stored_procedures/clone_schema_spec.rb +++ b/spec/lib/af83/stored_procedures/clone_schema_spec.rb @@ -13,7 +13,8 @@ RSpec.describe StoredProcedures do      StoredProcedures.create_stored_procedure :clone_schema    end -  context "meta specs describe source schema's introspection" do +  # :meta specs are not run, as the describe the testing methd and not the application +  context "meta specs describe source schema's introspection", :meta do      it "table information is correctly read" do        expect(get_table_information(source_schema, child_table))          .to eq([{"table_schema"=>"source_schema", @@ -31,7 +32,7 @@ RSpec.describe StoredProcedures do        expect( get_table_information(target_schema, child_table) ).to be_empty      end -    it "sequences are correctly read", :meta do +    it "sequences are correctly read" do        expect(get_sequences(source_schema, child_table))        .to eq([{"sequence_name"=>"#{child_table}_id_seq",                 "last_value"=>"1",  | 
