Package: ruby-combustion
Version: 1.1.1-2
Severity: serious
Failures:
1) Combustion::Database returns test database for model with default
connection
[31mFailure/Error: expect(Model.connection_config[:database]).to
match(/test/)[0m
[31m[0m
[31mNoMethodError:[0m
[31m undefined method `expect' for
#<RSpec::ExampleGroups::CombustionDatabase:0x00005637f96bcec0>[0m
[31m Did you mean? exec[0m
[36m# ./spec/database_spec.rb:24:in `block (2 levels) in
<module:Combustion>'[0m
2) Combustion::Database creates dummy table from migration in base
database
[31mFailure/Error:
expect(Model.connection.table_exists?("dummy_table")).to eq true[0m
[31m[0m
[31mNoMethodError:[0m
[31m undefined method `expect' for
#<RSpec::ExampleGroups::CombustionDatabase:0x00005637fa4a6950>[0m
[31m Did you mean? exec[0m
[36m# ./spec/database_spec.rb:12:in `block (2 levels) in
<module:Combustion>'[0m
3) Combustion::Database creates another dummy table from another
database
[31mFailure/Error:[0m
[31m
expect(ModelInAnotherDb.connection.table_exists?("dummy_table")).[0m
[31m to eq false[0m
[31m[0m
[31mNoMethodError:[0m
[31m undefined method `expect' for
#<RSpec::ExampleGroups::CombustionDatabase:0x00005637fa486b00>[0m
[31m Did you mean? exec[0m
[36m# ./spec/database_spec.rb:17:in `block (2 levels) in
<module:Combustion>'[0m
4) Combustion::Database returns test_another for model with
connection to second database
[31mFailure/Error:[0m
[31m expect(ModelInAnotherDb.connection_config[:database]).[0m
[31m to match(/test_another/)[0m
[31m[0m
[31mNoMethodError:[0m
[31m undefined method `expect' for
#<RSpec::ExampleGroups::CombustionDatabase:0x00005637fa4eedb8>[0m
[31m Did you mean? exec[0m
[36m# ./spec/database_spec.rb:28:in `block (2 levels) in
<module:Combustion>'[0m
Finished in 0.60768 seconds (files took 0.55044 seconds to load)
[31m4 examples, 4 failures[0m