spec/integration/plugins/auto_restrictions_spec.rb in rom-sql-1.3.5 vs spec/integration/plugins/auto_restrictions_spec.rb in rom-sql-2.0.0.beta1

- old
+ new

@@ -37,18 +37,7 @@ end end include_context 'auto-generated restriction view' end - - it 'raises error when enabled w/o a schema' do - expect { - conf.relation(:tasks) do - use :auto_restrictions - end - }.to raise_error( - ROM::Plugins::Relation::SQL::AutoRestrictions::EmptySchemaError, - "ROM::Relation[Tasks] relation has no schema. Make sure :auto_restrictions is enabled after defining a schema" - ) - end end end