Sha256: acc97d39dec768238efe8ccc9c4a355f94f53a78b28ad575b487d3c6ee2c69f4

Contents?: true

Size: 680 Bytes

Versions: 6

Compression:

Stored size: 680 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_true
  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

6 entries across 6 versions & 1 rubygems

Version Path
enju_library-0.1.0.pre5 spec/models/subscription_spec.rb
enju_library-0.1.0.pre4 spec/models/subscription_spec.rb
enju_library-0.1.0.pre3 spec/models/subscription_spec.rb
enju_library-0.1.0.pre2 spec/models/subscription_spec.rb
enju_library-0.1.0.pre spec/models/subscription_spec.rb
enju_library-0.0.2 spec/models/subscription_spec.rb