Sha256: ead05a15c32805f9b2b2d51bbc47eca7b0fee2927cc0a8a899411a2c3493f4bf

Contents?: true

Size: 586 Bytes

Versions: 6

Compression:

Stored size: 586 Bytes

Contents

require 'spec_helper'
require 'helpers/app_creator'
require 'helpers/fakable_pathman_tester'

describe 'full path' do
  before :all do
    FakablePathManTester.switch_on 'spec/fixtures/rails2311/fully-loaded/'
    ActLikeRails2311.switch_on
  end
  before :each do
    AppCreator.create
  end

  after :all do
    AppCreator.reset
    FakablePathManTester.switch_off
    ActLikeRails2311.switch_off
  end

  it "replaces all images" do
   local = Asset.all

   Asset.sync
   remote = RemoteAsset.all
   
   remote.count.should == 8
   local.each{|l| remote.should include(l) }
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
trackman-0.1.5 spec/rails2311/first_push_spec.rb
trackman-0.1.4 spec/rails2311/first_push_spec.rb
trackman-0.1.3 spec/rails2311/first_push_spec.rb
trackman-0.1.2 spec/rails2311/first_push_spec.rb
trackman-0.0.9 spec/rails2311/first_push_spec.rb
trackman-0.0.8 spec/rails2311/first_push_spec.rb