Sha256: 5606e5daba1f40606a139238169f5bd52a87af6d3fd250940327d0325c4caeb2

Contents?: true

Size: 684 Bytes

Versions: 13

Compression:

Stored size: 684 Bytes

Contents

# -*- encoding: utf-8 -*-
require 'spec_helper'

describe Subscription do
  fixtures :subscriptions, :manifestations, :subscribes

  it "should_respond_to_subscribed" do
    subscriptions(:subscription_00001).subscribed(manifestations(:manifestation_00001)).should be_truthy
  end
end

# == Schema Information
#
# Table name: subscriptions
#
#  id               :integer          not null, primary key
#  title            :text             not null
#  note             :text
#  user_id          :integer
#  order_list_id    :integer
#  deleted_at       :datetime
#  subscribes_count :integer          default(0), not null
#  created_at       :datetime
#  updated_at       :datetime
#

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
enju_library-0.2.0.beta.8 spec/models/subscription_spec.rb
enju_library-0.2.0.beta.7 spec/models/subscription_spec.rb
enju_library-0.2.0.beta.6 spec/models/subscription_spec.rb
enju_library-0.2.0.beta.5 spec/models/subscription_spec.rb
enju_library-0.2.0.beta.4 spec/models/subscription_spec.rb
enju_library-0.2.0.beta.3 spec/models/subscription_spec.rb
enju_library-0.2.0.beta.2 spec/models/subscription_spec.rb
enju_library-0.2.0.beta.1 spec/models/subscription_spec.rb
enju_library-0.1.2 spec/models/subscription_spec.rb
enju_library-0.1.1 spec/models/subscription_spec.rb
enju_library-0.1.0 spec/models/subscription_spec.rb
enju_library-0.1.0.pre45 spec/models/subscription_spec.rb
enju_library-0.1.0.pre44 spec/models/subscription_spec.rb