Commit ce694f9c6c37b29f2ee0fffda97c1730be038c42
1 parent
6347d197
Exists in
colab
and in
4 other branches
Closes issue #37. Deleting the undefined return of the repository_helper method periodicity_option
Showing
2 changed files
with
0 additions
and
5 deletions
Show diff stats
app/helpers/repository_helper.rb
spec/helpers/repository_helper_spec.rb
| ... | ... | @@ -18,10 +18,6 @@ describe RepositoryHelper, :type => :helper do |
| 18 | 18 | it 'should return the periodicity option associated to the given number' do |
| 19 | 19 | expect(helper.periodicity_option(1)).to eq "1 day" |
| 20 | 20 | end |
| 21 | - | |
| 22 | - it 'should return Undefined when there is no periodicity value' do | |
| 23 | - expect(helper.periodicity_option(nil)).to eq "Undefined" | |
| 24 | - end | |
| 25 | 21 | end |
| 26 | 22 | |
| 27 | 23 | describe 'calendar' do | ... | ... |