Sha256: 8e51f52c8ed752bf59c468959bc40fc03e7176ca39e5d327655f29a6ee9e2858
Contents?: true
Size: 377 Bytes
Versions: 11
Compression:
Stored size: 377 Bytes
Contents
require_relative "../spec_helper" class ExportScopeTest < Lanes::TestCase include TestingModels def test_scope_method_creation refute TestModel.respond_to?(:big_query) TestModel.send( :export_scope, :big_query, ->{} ) assert TestModel.respond_to?(:big_query) assert TestModel.has_exported_scope?(:big_query,DummyUser.new) end end
Version data entries
11 entries across 11 versions & 1 rubygems