Sha256: f7ce7adae47dec7bdd7c795cc103ebaf766bc7de29febc5b76c5148d7be77620
Contents?: true
Size: 375 Bytes
Versions: 3
Compression:
Stored size: 375 Bytes
Contents
require "lanes/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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lanes-0.1.2 | spec/concerns/export_scope_spec.rb |
lanes-0.1.0 | spec/concerns/export_scope_spec.rb |
lanes-0.0.8 | spec/concerns/export_scope_spec.rb |