Sha256: 048474efe77cadebe1f7dc0e04d0ee01a08e41c39a2baac76dabc3f1574fcf82
Contents?: true
Size: 604 Bytes
Versions: 3
Compression:
Stored size: 604 Bytes
Contents
require 'spec_helper' require 'celluloid' require 'writefully/tools' module Writefully module Tools describe Initializer do let(:message) { { user_name: "zacksiri", auth_token: 'sampletoken', site_slug: 'codemy-net', ssh_url: 'blah@blah.com:zacksiri/blah.git' } } it "should have the correct command" do initializer = Initializer.new(message) expect(initializer.content_folder_setup_command).to include message[:site_slug] expect(initializer.content_folder_setup_command).to include message[:ssh_url] initializer.terminate end end end end
Version data entries
3 entries across 3 versions & 1 rubygems