Sha256: 24468e05aec2e5fb59597270a4301e0ffa0c7f41e34c2768949cb7fc8ba6fb68

Contents?: true

Size: 354 Bytes

Versions: 8

Compression:

Stored size: 354 Bytes

Contents

module Spec
  module Helpers
    def reset!
      FileUtils.rm_rf(File.expand_path('../../../site', __FILE__))
    end
    
    def clone_site
      VCR.use_cassette('pull') do
        Locomotive::Builder.clone("site", {"host" => "locomotive.engine.dev:3000"}, "email" => "admin@locomotivecms.com", "password" => "locomotive")
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
locomotivecms_builder-1.0.0.alpha8 spec/support/helpers.rb
locomotivecms_builder-1.0.0.alpha7 spec/support/helpers.rb
locomotivecms_builder-1.0.0.alpha6 spec/support/helpers.rb
locomotivecms_builder-1.0.0.alpha5 spec/support/helpers.rb
locomotivecms_builder-1.0.0.alpha4 spec/support/helpers.rb
locomotivecms_builder-1.0.0.alpha3 spec/support/helpers.rb
locomotivecms_builder-1.0.0.alpha2 spec/support/helpers.rb
locomotivecms_builder-1.0.0.alpha1 spec/support/helpers.rb