Skip to content

Commit

Permalink
fix fragile test
Browse files Browse the repository at this point in the history
  • Loading branch information
kwappa committed Mar 23, 2015
1 parent e2ff7ac commit 4a6f307
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/username_not_reserved_validator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
let(:reserved_usernames) { UsernameNotReservedValidator::ReservedNames.list }
let(:valid_username) { 'valid_username' }
let(:invalid_username) { 'account' }
let(:invalid_camelized_username) { reserved_usernames.first(30).sample.camelize }
let(:invalid_pluralized_username) { reserved_usernames.first(30).sample.pluralize }
let(:invalid_camelized_username) { invalid_username.camelize }
let(:invalid_pluralized_username) { invalid_username.pluralize }
let(:invalid_additional_username) { 'additional_reserved_username' }

describe '#validate_each' do
Expand Down

0 comments on commit 4a6f307

Please sign in to comment.