Sha256: 2ef85ebda4513d4065a02aa6d0be5e6913ed364872aeaf16c480f619e925fe79

Contents?: true

Size: 623 Bytes

Versions: 58

Compression:

Stored size: 623 Bytes

Contents

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

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

58 entries across 58 versions & 1 rubygems

Version Path
trackman-0.6.9 spec/rails2311/first_push_spec.rb
trackman-0.6.8 spec/rails2311/first_push_spec.rb
trackman-0.6.7 spec/rails2311/first_push_spec.rb
trackman-0.6.6 spec/rails2311/first_push_spec.rb
trackman-0.6.5 spec/rails2311/first_push_spec.rb
trackman-0.6.4 spec/rails2311/first_push_spec.rb
trackman-0.6.3 spec/rails2311/first_push_spec.rb
trackman-0.6.2 spec/rails2311/first_push_spec.rb
trackman-0.6.1 spec/rails2311/first_push_spec.rb
trackman-0.6.0 spec/rails2311/first_push_spec.rb
trackman-0.5.8 spec/rails2311/first_push_spec.rb
trackman-0.5.7 spec/rails2311/first_push_spec.rb
trackman-0.5.6 spec/rails2311/first_push_spec.rb
trackman-0.5.5 spec/rails2311/first_push_spec.rb
trackman-0.5.4 spec/rails2311/first_push_spec.rb
trackman-0.5.3 spec/rails2311/first_push_spec.rb
trackman-0.5.2 spec/rails2311/first_push_spec.rb
trackman-0.5.1 spec/rails2311/first_push_spec.rb
trackman-0.5.0 spec/rails2311/first_push_spec.rb
trackman-0.4.8 spec/rails2311/first_push_spec.rb