spec/concerns/configurable_spec.rb in remote_db-0.0.5 vs spec/concerns/configurable_spec.rb in remote_db-0.0.6
- old
+ new
@@ -108,14 +108,14 @@
end
it 'should not allow accessing hidden columns' do
person = TestDb::Person.first
expect {
- puts person.last_name
+ person.last_name
}.to raise_error(RemoteDb::Concerns::RestrictedColumns::ForbiddenColumnException)
expect {
- puts person[:last_name]
+ person[:last_name]
}.to raise_error(RemoteDb::Concerns::RestrictedColumns::ForbiddenColumnException)
end
context '#without_readonly' do
context 'when not specifying a environment' do