Sha256: c06576b89ffd950e17252ca17f13db61156502df253ef9175e0ed8321c825b3a
Contents?: true
Size: 559 Bytes
Versions: 1
Compression:
Stored size: 559 Bytes
Contents
require 'spec_helper' module Synvert describe Snippet do let(:default_snippets_path) { File.join(File.dirname(__FILE__), '.synvert') } before { Core::Configuration.instance.set :default_snippets_path, default_snippets_path } after { FileUtils.rm_rf default_snippets_path } it 'git clones snippets' do Snippet.sync expect(File.exist?(default_snippets_path)).to be_truthy end it 'git pull snippets' do Snippet.sync Snippet.sync expect(File.exist?(default_snippets_path)).to be_truthy end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
synvert-0.4.0 | spec/synvert/snippet_spec.rb |