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

- old
+ new

@@ -133,11 +133,11 @@ before { @workspace = Workspace.new(matrix_col_size: nil) } it 'raises InvalidOption' do expect do @workspace.next_workspace_num_for_matrix(direction: 'prev') - end.to raise_error(Workspace::InvalidOption) + end.to raise_error(Wmctrl::Workspace::MissingMatrixOption) end end context 'with matrix_col_size: 3' do # +---+---+---+ @@ -225,10 +225,10 @@ context 'with matrix_col_size' do before do @workspace = Workspace.new(matrix_col_size: nil) stub_workspace_values(current: 1, total: 3) end - it { expect { @workspace.matrix_size(3) }.to raise_error Workspace::InvalidOption } + it { expect { @workspace.matrix_size(3) }.to raise_error Workspace::MissingMatrixOption } end end end end end