Skip to content

Commit

Permalink
[RUBY-3220] Add back shared example to project_name_step_spec.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
jjromeo committed Sep 3, 2024
1 parent 18dbfb3 commit 9ad8a65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/steps/pafs_core/project_name_step_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
let(:blank_name_params) { ActionController::Parameters.new({ project_name_step: { name: nil } }) }
let(:error_message) { "The project name must only contain letters, underscores, hyphens and numbers" }

it_behaves_like "a project step"

context "when name is valid" do
it "returns true and saves the name" do
expect(project_name_step.name).not_to eq "Wigwam waste water"
Expand Down

0 comments on commit 9ad8a65

Please sign in to comment.