Skip to content

Commit

Permalink
Add spec for Clipboard::Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
janlelis committed Apr 5, 2024
1 parent c5029f6 commit 2a8e9a7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions spec/clipboard_file_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

require_relative "spec_helper"

require 'clipboard/file'
require "fileutils"

describe 'Clipboard::File' do
Expand Down
3 changes: 3 additions & 0 deletions spec/clipboard_mac_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

require_relative "spec_helper"

require 'clipboard/mac'
require "rbconfig"

if RbConfig::CONFIG['host_os'] =~ /mac|darwin/
describe "Clipboard::Mac" do
before :all do
Expand Down
1 change: 0 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@

$LOAD_PATH.unshift 'lib'
require 'clipboard'
require 'clipboard/file'

0 comments on commit 2a8e9a7

Please sign in to comment.