Skip to content

Commit

Permalink
Fix spec regex
Browse files Browse the repository at this point in the history
  • Loading branch information
gangelo committed Dec 28, 2023
1 parent e6e123d commit 291933d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/branch/name/feature_specs/create_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

context 'when no config files exist' do
let(:expected_output) do
/.Branch name "12345_foo_bar" has been copied to the clipboard.*/m
/Branch name "12345_foo_bar" has been copied to the clipboard/
end

it 'uses the defaut configuration to format the branch name' do
Expand All @@ -24,7 +24,7 @@
end

let(:expected_output) do
/.Branch name "12345-foo-bar" has been copied to the clipboard.*/m
/Branch name "12345-foo-bar" has been copied to the clipboard/
end

it 'uses the local configuration to format the branch name' do
Expand All @@ -43,7 +43,7 @@
end

let(:expected_output) do
/.Branch name "foo_bar_12345" has been copied to the clipboard.*/m
/Branch name "foo_bar_12345" has been copied to the clipboard/
end

it 'uses the global configuration to format the branch name' do
Expand All @@ -64,7 +64,7 @@
end

let(:expected_output) do
/.Branch name "foo_bar_12345" has been copied to the clipboard.*/m
/Branch name "foo_bar_12345" has been copied to the clipboard/
end

it 'uses the local config file to format the branch name' do
Expand Down

0 comments on commit 291933d

Please sign in to comment.