spec/fusuma/plugin/plugin/executors/wmctrl_executor_spec.rb in fusuma-plugin-wmctrl-1.0.1 vs spec/fusuma/plugin/plugin/executors/wmctrl_executor_spec.rb in fusuma-plugin-wmctrl-1.1.0

- old
+ new

@@ -11,12 +11,12 @@ module Fusuma module Plugin module Executors RSpec.describe WmctrlExecutor do before do - @workspace = double(Workspace) - allow(Workspace) + @workspace = double(Wmctrl::Workspace) + allow(Wmctrl::Workspace) .to receive(:new) .and_return(@workspace) index = Config::Index.new([:dummy, 1, :direction]) record = Events::Records::IndexRecord.new(index: index) @@ -315,10 +315,10 @@ Config.custom_path = nil end it 'should wrap-navigation mode' do - expect(Workspace).to receive(:new).with( + expect(Wmctrl::Workspace).to receive(:new).with( wrap_navigation: true, matrix_col_size: nil ) WmctrlExecutor.new end