-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename 'random.rb' => 'random_content_generator.rb'
This is to avoid clashing with the ruby standard lib 'Random' module, which we'll be using in the next commit. At the same time, I've renamed 'random_item_generator.rb' to 'random_schema_generator.rb', which is more reflective of its purpose and helps to distinguish between the two classes.
- Loading branch information
1 parent
9ddca1d
commit e8e8aba
Showing
5 changed files
with
18 additions
and
18 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
lib/govuk_schemas/random.rb → ...govuk_schemas/random_content_generator.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
spec/lib/random_spec.rb → spec/lib/random_content_generator_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters