Sha256: a03eb2c5b6a7e57b1118c9feb9894f74dc7911af424d63547887114b13e2e5be

Contents?: true

Size: 687 Bytes

Versions: 1

Compression:

Stored size: 687 Bytes

Contents

# -*- encoding: utf-8 -*-
require 'rails_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               :bigint           not null, primary key
#  title            :text             not null
#  note             :text
#  user_id          :bigint
#  order_list_id    :bigint
#  subscribes_count :integer          default(0), not null
#  created_at       :datetime         not null
#  updated_at       :datetime         not null
#

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
enju_library-0.4.0.rc.1 spec/models/subscription_spec.rb