Sha256: 5330eac7dcc76bdb6e1dfc5fbf203ed3a2b2880d8ae42afc38bafec30c4ec4bd

Contents?: true

Size: 422 Bytes

Versions: 2

Compression:

Stored size: 422 Bytes

Contents

require 'helper'

module TestModels
  class TestNotification < Coupler::Test::UnitTest
    include Coupler::Models
    Coupler::Models::Notification  # force load

    test "sequel model" do
      assert_equal ::Sequel::Model, Notification.superclass
      assert_equal :notifications, Notification.table_name
    end

    test "common model" do
      assert Notification.ancestors.include?(CommonModel)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
coupler-0.0.9-java test/unit/models/test_notification.rb
coupler-0.0.8-java test/unit/models/test_notification.rb