Skip to content

Commit

Permalink
Fix typo: Millenials -> Millennials
Browse files Browse the repository at this point in the history
  • Loading branch information
Hirurg103 committed Aug 11, 2018
1 parent abe4aca commit bafa891
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ select2 'Buy Milk', from: 'Things to do', search: true

### Dynamically create an option from search input
```ruby
select2 'Millenials', from: 'Generations', tag: true
select2 'Millennials', from: 'Generations', tag: true
```

## Contributing
Expand Down
4 changes: 2 additions & 2 deletions spec/select2_v2_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@

context 'creating a dynamic option' do
it 'should add an option from search box' do
select2 'Millenials', css: '#tagging', tag: true
select2 'Millennials', css: '#tagging', tag: true

expect(page).to have_css '.select2-search-choice', text: 'Millenials'
expect(page).to have_css '.select2-search-choice', text: 'Millennials'
end
end

Expand Down
4 changes: 2 additions & 2 deletions spec/select2_v3_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@

context 'creating a dynamic option' do
it 'should add an option from search box' do
select2 'Millenials', css: '#tagging', tag: true
select2 'Millennials', css: '#tagging', tag: true

expect(page).to have_css '.select2-search-choice', text: 'Millenials'
expect(page).to have_css '.select2-search-choice', text: 'Millennials'
end
end

Expand Down
4 changes: 2 additions & 2 deletions spec/select2_v4_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@

context 'creating a dynamic option' do
it 'should add an option from search box' do
select2 'Millenials', css: '#tagging', tag: true
select2 'Millennials', css: '#tagging', tag: true

expect(page).to have_css '.select2-selection__choice', text: 'Millenials'
expect(page).to have_css '.select2-selection__choice', text: 'Millennials'
end
end

Expand Down

0 comments on commit bafa891

Please sign in to comment.