Skip to content

Commit

Permalink
Change camel case test so that it runs on non-wayland
Browse files Browse the repository at this point in the history
  • Loading branch information
janlelis committed Apr 7, 2024
1 parent 21af0bc commit aa56cb5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions spec/clipboard_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,10 @@ class A
end

it "can be set with camel case" do
Clipboard.implementation = "linux_wayland"
expect( Clipboard.implementation ).to eq Clipboard::LinuxWayland
module Clipboard::TestImplementation
end
Clipboard.implementation = "test_implementation"
expect( Clipboard.implementation ).to eq Clipboard::TestImplementation
end

it "warns when unknown implementation name is given" do
Expand Down

0 comments on commit aa56cb5

Please sign in to comment.