[DRE-maint] Bug#956598: ruby-combustion autopkgtest is failing with NoMethodError: undefined method `expect' for #<RSpec::ExampleGroups::CombustionDatabase:0x00005637f96bcec0>

Pirate Praveen praveen at onenetbeyond.org
Mon Apr 13 13:00:29 BST 2020


Package: ruby-combustion
Version: 1.1.1-2
Severity: serious


Failures:

  1) Combustion::Database returns test database for model with default 
connection
     Failure/Error: expect(Model.connection_config[:database]).to 
match(/test/)
     
     NoMethodError:
      undefined method `expect' for 
#<RSpec::ExampleGroups::CombustionDatabase:0x00005637f96bcec0>
      Did you mean? exec
     # ./spec/database_spec.rb:24:in `block (2 levels) in 
<module:Combustion>'

  2) Combustion::Database creates dummy table from migration in base 
database
     Failure/Error: 
expect(Model.connection.table_exists?("dummy_table")).to eq true
     
     NoMethodError:
      undefined method `expect' for 
#<RSpec::ExampleGroups::CombustionDatabase:0x00005637fa4a6950>
      Did you mean? exec
     # ./spec/database_spec.rb:12:in `block (2 levels) in 
<module:Combustion>'

  3) Combustion::Database creates another dummy table from another 
database
     Failure/Error:
      
expect(ModelInAnotherDb.connection.table_exists?("dummy_table")).
      to eq false
     
     NoMethodError:
      undefined method `expect' for 
#<RSpec::ExampleGroups::CombustionDatabase:0x00005637fa486b00>
      Did you mean? exec
     # ./spec/database_spec.rb:17:in `block (2 levels) in 
<module:Combustion>'

  4) Combustion::Database returns test_another for model with 
connection to second database
     Failure/Error:
      expect(ModelInAnotherDb.connection_config[:database]).
      to match(/test_another/)
     
     NoMethodError:
      undefined method `expect' for 
#<RSpec::ExampleGroups::CombustionDatabase:0x00005637fa4eedb8>
      Did you mean? exec
     # ./spec/database_spec.rb:28:in `block (2 levels) in 
<module:Combustion>'

Finished in 0.60768 seconds (files took 0.55044 seconds to load)
4 examples, 4 failures



More information about the Pkg-ruby-extras-maintainers mailing list