Sha256: 6c03deecd89ff24a1e4484d1fbf3fcb183dfd3cc1cf220145305d59013d23da8

Contents?: true

Size: 573 Bytes

Versions: 4

Compression:

Stored size: 573 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
   expected = Asset.all
   
   Asset.sync
   actual = RemoteAsset.all

   actual.count.should == 8
   actual.should == expected
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
trackman-0.0.6 spec/rails2311/first_push_spec.rb
trackman-0.0.5 spec/rails2311/first_push_spec.rb
trackman-0.1.1 spec/rails2311/first_push_spec.rb
trackman-0.1.0 spec/rails2311/first_push_spec.rb