Commit 79a5e97866ab63a966d42e3a21ed6f8d48369ead

Authored by Guilherme Rojas V. de Lima
Committed by Rafael Manzo
1 parent f3710ebf

Refactored test to repository helper

Signed-off By: Rafael Manzo <rr.manzo@gmail.com>
Signed-off By: Renan Fichberg <rfichberg@gmail.com>
Showing 1 changed file with 4 additions and 0 deletions   Show diff stats
spec/helpers/repository_helper_spec.rb
... ... @@ -18,5 +18,9 @@ describe RepositoryHelper do
18 18 it 'should return the periodicity option associated to the given number' do
19 19 helper.periodicity_option(1).should eq "1 day"
20 20 end
  21 +
  22 + it 'should return Undefined when there is no periodicity value' do
  23 + helper.periodicity_option(nil).should eq "Undefined"
  24 + end
21 25 end
22 26 end
23 27 \ No newline at end of file
... ...