Sha256: cc12d7dcc082adc1cfcf2516678adc47d8301e4c0808de64ebe883814b189d94

Contents?: true

Size: 328 Bytes

Versions: 12

Compression:

Stored size: 328 Bytes

Contents

require 'spec_helper'

describe Notifiable::App do

  let(:notifiable_app) { FactoryGirl.create(:app) }
  let(:notification) { FactoryGirl.create(:notification, :app => notifiable_app) }
  
  it "contains notifications" do  
    notification.app.should_not be_nil
    notifiable_app.notifications.count.should == 1
  end
  
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
notifiable-rails-0.16.0 spec/notifiable_app_spec.rb
notifiable-rails-0.15.3 spec/notifiable_app_spec.rb
notifiable-rails-0.15.2 spec/notifiable_app_spec.rb
notifiable-rails-0.15.1 spec/notifiable_app_spec.rb
notifiable-rails-0.15.0 spec/notifiable_app_spec.rb
notifiable-rails-0.14.1 spec/notifiable_app_spec.rb
notifiable-rails-0.14.0 spec/notifiable_app_spec.rb
notifiable-rails-0.13.0 spec/notifiable_app_spec.rb
notifiable-rails-0.12.1 spec/notifiable_app_spec.rb
notifiable-rails-0.12.0 spec/notifiable_app_spec.rb
notifiable-rails-0.11.0 spec/notifiable_app_spec.rb
notifiable-rails-0.10.1 spec/notifiable_app_spec.rb