Skip to content

Commit

Permalink
chore: update spec description
Browse files Browse the repository at this point in the history
  • Loading branch information
iberianpig committed Jul 5, 2024
1 parent 01971a6 commit c019103
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions spec/fusuma/plugin/plugin/executors/wmctrl_executor_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ module Executors
end

describe "#execute" do
it "detach" do
it "detaches the process" do
pid = rand(20)
allow(Process).to receive(:spawn).with(@executor.search_command(@event))
.and_return pid
Expand All @@ -55,7 +55,7 @@ module Executors
it { expect(@executor.executable?(@event)).to be_truthy }
end

context "when given INVALID event tagged as invalid_tag" do
context "when given invalid event tagged as invalid_tag" do
before do
@event.tag = "invalid_tag"
end
Expand All @@ -73,6 +73,7 @@ module Executors
.to receive(:workspace_values)
.and_return([@current_workspace, @total_workspaces])
end

context "when workspace: 'prev'" do
around do |example|
ConfigHelper.load_config_yml = <<~CONFIG
Expand Down Expand Up @@ -282,6 +283,7 @@ module Executors
end
end
end

context "when window: 'close'" do
around do |example|
ConfigHelper.load_config_yml = <<~CONFIG
Expand Down

0 comments on commit c019103

Please sign in to comment.