Created
August 2, 2013 16:03
-
-
Save andredublin/6141079 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require_relative "./support/spec_helper" | |
require_relative '../lib/muxie/tasks' | |
require_relative '../lib/utilities/file_system' | |
describe Muxie::Tasks do | |
include FakeFS::SpecHelpers | |
let(:file_system) { Muxie::FileSystem } | |
context "#install" do | |
it "should add tmux clipboard script to the file system" do | |
file_system.symlink_data_files | |
expect(File.symlink?("#{ENV['HOME']}/.tmux.clipboard")).to eq(true) | |
end | |
it "should add tmux conf script to the file system" do | |
file_system.symlink_data_files | |
expect(File.symlink?("#{ENV['HOME']}/.tmux.conf")).to eq(true) | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment