spec/acfs/resource/query_methods_spec.rb in acfs-1.7.0 vs spec/acfs/resource/query_methods_spec.rb in acfs-2.0.0
- old
+ new
@@ -331,10 +331,10 @@
context 'singleton resource' do
let(:model) { Single }
it '.find_by should not be defined' do
- expect { model.find_by }.to raise_error ::Acfs::UnsupportedOperation
+ expect { model.find_by }.to raise_error Acfs::UnsupportedOperation
end
end
end
describe '.find_by' do