Skip to content

Instantly share code, notes, and snippets.

@andredublin
Created August 2, 2013 16:03
Show Gist options
  • Save andredublin/6141079 to your computer and use it in GitHub Desktop.
Save andredublin/6141079 to your computer and use it in GitHub Desktop.
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