Sha256: 35986b877a4a1543d5a9d6170ac0815b9f5e53af676483147a5aa3123fee51f3

Contents?: true

Size: 435 Bytes

Versions: 15

Compression:

Stored size: 435 Bytes

Contents

require 'spec_helper'

describe Daengine::ContentServiceProcessor do
  subject { FactoryGirl.create :digital_asset }
  context "process_orderable" do
    before do
      FactoryGirl.create :digital_asset    
    end    
    it 'processes orderable digital assets' do   
      Daengine::ContentServiceProcessor.process_orderable
      result = DigitalAsset.all
      result[0].orderable.should == 'false'
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
daengine-0.3.2 spec/lib/content_service_processor_spec.rb
daengine-0.3.1 spec/lib/content_service_processor_spec.rb
daengine-0.3 spec/lib/content_service_processor_spec.rb
daengine-0.2.19 spec/lib/content_service_processor_spec.rb
daengine-0.2.18 spec/lib/content_service_processor_spec.rb
daengine-0.2.17 spec/lib/content_service_processor_spec.rb
daengine-0.2.16 spec/lib/content_service_processor_spec.rb
daengine-0.2.15 spec/lib/content_service_processor_spec.rb
daengine-0.2.14 spec/lib/content_service_processor_spec.rb
daengine-0.2.13 spec/lib/content_service_processor_spec.rb
daengine-0.2.12 spec/lib/content_service_processor_spec.rb
daengine-0.2.11 spec/lib/content_service_processor_spec.rb
daengine-0.2.10 spec/lib/content_service_processor_spec.rb
daengine-0.2.9 spec/lib/content_service_processor_spec.rb
daengine-0.2.8 spec/lib/content_service_processor_spec.rb