Skip to content

Commit

Permalink
chore: add failing spec for when there are percentages in the version…
Browse files Browse the repository at this point in the history
… number of a request to create a branch version
  • Loading branch information
bethesque committed Jun 9, 2022
1 parent eb163ed commit 2eeba59
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions spec/features/create_branch_version_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,12 @@
context "when the branch version does not exist" do
its(:status) { is_expected.to eq 201 }
end

context "with a percentage in the version number", pending: "this is currently raising a utf-8 encoding error" do
let(:path) { "/pacticipants/foo/branches/main/versions/%25DATE%25_%25TIME%25" }

it "returns a 201 response" do
expect(subject.status).to be 201
end
end
end

0 comments on commit 2eeba59

Please sign in to comment.